~ubuntu-branches/ubuntu/raring/libvirt/raring

« back to all changes in this revision

Viewing changes to src/lxc/lxc_protocol.h

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-11-19 10:41:02 UTC
  • mfrom: (1.2.15) (223.1.2 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121119104102-l6ewdppikysbzztu
Tags: 1.0.0-0ubuntu2
debian/patches/add-armhf-sysinfo-infomration.patch: Disable
to fix FTBFS on arm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Please do not edit this file.
 
3
 * It was generated using rpcgen.
 
4
 */
 
5
 
 
6
#ifndef _LXC_PROTOCOL_H_RPCGEN
 
7
#define _LXC_PROTOCOL_H_RPCGEN
 
8
 
 
9
#include <rpc/rpc.h>
 
10
 
 
11
 
 
12
#ifdef __cplusplus
 
13
extern "C" {
 
14
#endif
 
15
 
 
16
 
 
17
enum virLXCProtocolExitStatus {
 
18
        VIR_LXC_PROTOCOL_EXIT_STATUS_ERROR = 0,
 
19
        VIR_LXC_PROTOCOL_EXIT_STATUS_SHUTDOWN = 1,
 
20
        VIR_LXC_PROTOCOL_EXIT_STATUS_REBOOT = 2,
 
21
};
 
22
typedef enum virLXCProtocolExitStatus virLXCProtocolExitStatus;
 
23
 
 
24
struct virLXCProtocolExitEventMsg {
 
25
        enum virLXCProtocolExitStatus status;
 
26
};
 
27
typedef struct virLXCProtocolExitEventMsg virLXCProtocolExitEventMsg;
 
28
#define VIR_LXC_PROTOCOL_PROGRAM 0x12341234
 
29
#define VIR_LXC_PROTOCOL_PROGRAM_VERSION 1
 
30
 
 
31
enum virLXCProtocolProcedure {
 
32
        VIR_LXC_PROTOCOL_PROC_EXIT_EVENT = 1,
 
33
};
 
34
typedef enum virLXCProtocolProcedure virLXCProtocolProcedure;
 
35
 
 
36
/* the xdr functions */
 
37
 
 
38
#if defined(__STDC__) || defined(__cplusplus)
 
39
extern  bool_t xdr_virLXCProtocolExitStatus (XDR *, virLXCProtocolExitStatus*);
 
40
extern  bool_t xdr_virLXCProtocolExitEventMsg (XDR *, virLXCProtocolExitEventMsg*);
 
41
extern  bool_t xdr_virLXCProtocolProcedure (XDR *, virLXCProtocolProcedure*);
 
42
 
 
43
#else /* K&R C */
 
44
extern bool_t xdr_virLXCProtocolExitStatus ();
 
45
extern bool_t xdr_virLXCProtocolExitEventMsg ();
 
46
extern bool_t xdr_virLXCProtocolProcedure ();
 
47
 
 
48
#endif /* K&R C */
 
49
 
 
50
#ifdef __cplusplus
 
51
}
 
52
#endif
 
53
 
 
54
#endif /* !_LXC_PROTOCOL_H_RPCGEN */