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