]>
git.proxmox.com Git - pve-cluster.git/blob - data/PVE/IPCC.pm
9 our @ISA = qw(Exporter);
11 # Items to export into callers namespace by default. Note: do not export
12 # names by default without a very good reason. Use EXPORT_OK instead.
13 # Do not simply export all your public functions/methods/constants.
15 # This allows declaration use PVE::IPCC ':all';
16 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
18 our %EXPORT_TAGS = ( 'all' => [ qw(
22 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
31 XSLoader
::load
('PVE::IPCC', $VERSION);
33 # Preloaded methods go here.
40 PVE::IPCC - Perl extension to access the PVE IPC Server
46 my $res = PVE::IPCC::ipcc_send_rec(1, "hello");
48 my $res = PVE::IPCC::sendfd($socketfd, $fd, $opt_data);
52 Send/receive RAW data packets from the PVE IPC Server.
54 Pass file descriptor over unix domain sockets (used to pass
55 file destriptors to qemu fdset). This is use in PVE::QMPClient.
63 Dietmar Maurer, E<lt>dietmar@proxmox.com<gt>