2
* Please do not edit this file.
3
* It was generated using rpcgen.
6
#ifndef _LXC_PROTOCOL_H_RPCGEN
7
#define _LXC_PROTOCOL_H_RPCGEN
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,
22
typedef enum virLXCProtocolExitStatus virLXCProtocolExitStatus;
24
struct virLXCProtocolExitEventMsg {
25
enum virLXCProtocolExitStatus status;
27
typedef struct virLXCProtocolExitEventMsg virLXCProtocolExitEventMsg;
28
#define VIR_LXC_PROTOCOL_PROGRAM 0x12341234
29
#define VIR_LXC_PROTOCOL_PROGRAM_VERSION 1
31
enum virLXCProtocolProcedure {
32
VIR_LXC_PROTOCOL_PROC_EXIT_EVENT = 1,
34
typedef enum virLXCProtocolProcedure virLXCProtocolProcedure;
36
/* the xdr functions */
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*);
44
extern bool_t xdr_virLXCProtocolExitStatus ();
45
extern bool_t xdr_virLXCProtocolExitEventMsg ();
46
extern bool_t xdr_virLXCProtocolProcedure ();
54
#endif /* !_LXC_PROTOCOL_H_RPCGEN */