libvirt/qemud/protocol.h

40 lines
670 B
C

/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _PROTOCOL_H_RPCGEN
#define _PROTOCOL_H_RPCGEN
#include <rpc/rpc.h>
#ifdef __cplusplus
extern "C" {
#endif
#define QEMUD_PROGRAM 0x20001A64
#define QEMUD_PKT_HEADER_XDR_LEN 8
struct qemud_packet_header {
uint32_t length;
uint32_t prog;
};
typedef struct qemud_packet_header qemud_packet_header;
/* the xdr functions */
#if defined(__STDC__) || defined(__cplusplus)
extern bool_t xdr_qemud_packet_header (XDR *, qemud_packet_header*);
#else /* K&R C */
extern bool_t xdr_qemud_packet_header ();
#endif /* K&R C */
#ifdef __cplusplus
}
#endif
#endif /* !_PROTOCOL_H_RPCGEN */