]> git.proxmox.com Git - pve-cluster.git/blame - data/PVE/IPCC.pm
dc.conf: sort languages for easier finding one
[pve-cluster.git] / data / PVE / IPCC.pm
CommitLineData
fe000966
DM
1package PVE::IPCC;
2
3use 5.010001;
4use strict;
5use warnings;
6
7require Exporter;
8
9our @ISA = qw(Exporter);
10
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.
14
15# This allows declaration use PVE::IPCC ':all';
16# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
17# will save memory.
18our %EXPORT_TAGS = ( 'all' => [ qw(
19
20) ] );
21
22our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
23
24our @EXPORT = qw(
25
26);
27
28our $VERSION = '1.0';
29
30require XSLoader;
31XSLoader::load('PVE::IPCC', $VERSION);
32
33# Preloaded methods go here.
34
351;
36__END__
fe000966
DM
37
38=head1 NAME
39
40PVE::IPCC - Perl extension to access the PVE IPC Server
41
42=head1 SYNOPSIS
43
44 use PVE::IPCC;
45
fe000966
DM
46 my $res = PVE::IPCC::ipcc_send_rec(1, "hello");
47
24a3d153
DM
48 my $res = PVE::IPCC::sendfd($socketfd, $fd, $opt_data);
49
fe000966
DM
50=head1 DESCRIPTION
51
52Send/receive RAW data packets from the PVE IPC Server.
53
24a3d153
DM
54Pass file descriptor over unix domain sockets (used to pass
55file destriptors to qemu fdset). This is use in PVE::QMPClient.
56
fe000966
DM
57=head2 EXPORT
58
59None by default.
60
61=head1 AUTHOR
62
63Dietmar Maurer, E<lt>dietmar@proxmox.com<gt>
64
65=cut