2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #include "mount_prot.h"
9 xdr_fhandle3 (XDR *xdrs, fhandle3 *objp)
11 register int32_t *buf;
13 if (!xdr_bytes (xdrs, (char **)&objp->fhandle3_val, (u_int *) &objp->fhandle3_len, FHSIZE3))
19 xdr_dirpath (XDR *xdrs, dirpath *objp)
21 register int32_t *buf;
23 if (!xdr_string (xdrs, objp, MNTPATHLEN))
29 xdr_name (XDR *xdrs, name *objp)
31 register int32_t *buf;
33 if (!xdr_string (xdrs, objp, MNTNAMLEN))
39 xdr_mountstat3 (XDR *xdrs, mountstat3 *objp)
41 register int32_t *buf;
43 if (!xdr_enum (xdrs, (enum_t *) objp))
49 xdr_mountres3_ok (XDR *xdrs, mountres3_ok *objp)
51 register int32_t *buf;
53 if (!xdr_fhandle3 (xdrs, &objp->fhandle))
55 if (!xdr_array (xdrs, (char **)&objp->auth_flavors.auth_flavors_val, (u_int *) &objp->auth_flavors.auth_flavors_len, ~0,
56 sizeof (int), (xdrproc_t) xdr_int))
62 xdr_mountres3 (XDR *xdrs, mountres3 *objp)
64 register int32_t *buf;
66 if (!xdr_mountstat3 (xdrs, &objp->fhs_status))
68 switch (objp->fhs_status) {
70 if (!xdr_mountres3_ok (xdrs, &objp->mountres3_u.mountinfo))
80 xdr_mountlist (XDR *xdrs, mountlist *objp)
82 register int32_t *buf;
84 if (!xdr_pointer (xdrs, (char **)objp, sizeof (struct mountbody), (xdrproc_t) xdr_mountbody))
90 xdr_mountbody (XDR *xdrs, mountbody *objp)
92 register int32_t *buf;
94 if (!xdr_name (xdrs, &objp->ml_hostname))
96 if (!xdr_dirpath (xdrs, &objp->ml_directory))
98 if (!xdr_mountlist (xdrs, &objp->ml_next))
104 xdr_groups (XDR *xdrs, groups *objp)
106 register int32_t *buf;
108 if (!xdr_pointer (xdrs, (char **)objp, sizeof (struct groupnode), (xdrproc_t) xdr_groupnode))
114 xdr_groupnode (XDR *xdrs, groupnode *objp)
116 register int32_t *buf;
118 if (!xdr_name (xdrs, &objp->gr_name))
120 if (!xdr_groups (xdrs, &objp->gr_next))
126 xdr_exports (XDR *xdrs, exports *objp)
128 register int32_t *buf;
130 if (!xdr_pointer (xdrs, (char **)objp, sizeof (struct exportnode), (xdrproc_t) xdr_exportnode))
136 xdr_exportnode (XDR *xdrs, exportnode *objp)
138 register int32_t *buf;
140 if (!xdr_dirpath (xdrs, &objp->ex_dir))
142 if (!xdr_groups (xdrs, &objp->ex_groups))
144 if (!xdr_exports (xdrs, &objp->ex_next))