1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#include "guestfs_protocol.h"
bool_t
xdr_guestfs_mount_args (XDR *xdrs, guestfs_mount_args *objp)
{
register int32_t *buf;
if (!xdr_string (xdrs, &objp->device, ~0))
return FALSE;
if (!xdr_string (xdrs, &objp->mountpoint, ~0))
return FALSE;
return TRUE;
}
bool_t
xdr_guestfs_touch_args (XDR *xdrs, guestfs_touch_args *objp)
{
register int32_t *buf;
if (!xdr_string (xdrs, &objp->path, ~0))
return FALSE;
return TRUE;
}
bool_t
xdr_guestfs_procedure (XDR *xdrs, guestfs_procedure *objp)
{
register int32_t *buf;
if (!xdr_enum (xdrs, (enum_t *) objp))
return FALSE;
return TRUE;
}
bool_t
xdr_guestfs_message_direction (XDR *xdrs, guestfs_message_direction *objp)
{
register int32_t *buf;
if (!xdr_enum (xdrs, (enum_t *) objp))
return FALSE;
return TRUE;
}
bool_t
xdr_guestfs_message_status (XDR *xdrs, guestfs_message_status *objp)
{
register int32_t *buf;
if (!xdr_enum (xdrs, (enum_t *) objp))
return FALSE;
return TRUE;
}
bool_t
xdr_guestfs_message_header (XDR *xdrs, guestfs_message_header *objp)
{
register int32_t *buf;
if (!xdr_u_int (xdrs, &objp->prog))
return FALSE;
if (!xdr_u_int (xdrs, &objp->vers))
return FALSE;
if (!xdr_guestfs_procedure (xdrs, &objp->proc))
return FALSE;
if (!xdr_guestfs_message_direction (xdrs, &objp->direction))
return FALSE;
if (!xdr_u_int (xdrs, &objp->serial))
return FALSE;
if (!xdr_guestfs_message_status (xdrs, &objp->status))
return FALSE;
return TRUE;
}
|