]>
git.saurik.com Git - apple/network_cmds.git/blob - rpc_lockd.tproj/sm_inter_xdr.c
2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #include <rpcsvc/sm_inter.h>
8 /*static char sccsid[] = "from: @(#)sm_inter.x 1.7 87/06/24 Copyr 1987 Sun Micro";*/
9 /*static char sccsid[] = "from: @(#)sm_inter.x 2.2 88/08/01 4.0 RPCSRC";*/
10 static char rcsid
[] = "$Id: sm_inter_xdr.c,v 1.2 2002/09/27 05:04:06 lindak Exp $";
14 xdr_sm_name(XDR
*xdrs
, sm_name
*objp
)
17 if (!xdr_string(xdrs
, &objp
->mon_name
, SM_MAXSTRLEN
))
23 xdr_my_id(XDR
*xdrs
, my_id
*objp
)
26 if (!xdr_string(xdrs
, &objp
->my_name
, SM_MAXSTRLEN
))
28 if (!xdr_int(xdrs
, &objp
->my_prog
))
30 if (!xdr_int(xdrs
, &objp
->my_vers
))
32 if (!xdr_int(xdrs
, &objp
->my_proc
))
38 xdr_mon_id(XDR
*xdrs
, mon_id
*objp
)
41 if (!xdr_string(xdrs
, &objp
->mon_name
, SM_MAXSTRLEN
))
43 if (!xdr_my_id(xdrs
, &objp
->my_id
))
49 xdr_mon(XDR
*xdrs
, mon
*objp
)
52 if (!xdr_mon_id(xdrs
, &objp
->mon_id
))
54 if (!xdr_opaque(xdrs
, objp
->priv
, 16))
60 xdr_stat_chge(XDR
*xdrs
, stat_chge
*objp
)
63 if (!xdr_string(xdrs
, &objp
->mon_name
, SM_MAXSTRLEN
))
65 if (!xdr_int(xdrs
, &objp
->state
))
71 xdr_sm_stat(XDR
*xdrs
, sm_stat
*objp
)
74 if (!xdr_int(xdrs
, &objp
->state
))
80 xdr_sm_res(XDR
*xdrs
, sm_res
*objp
)
83 if (!xdr_enum(xdrs
, (enum_t
*)objp
))
89 xdr_sm_stat_res(XDR
*xdrs
, sm_stat_res
*objp
)
92 if (!xdr_sm_res(xdrs
, &objp
->res_stat
))
94 if (!xdr_int(xdrs
, &objp
->state
))
100 xdr_sm_status(XDR
*xdrs
, sm_status
*objp
)
103 if (!xdr_string(xdrs
, &objp
->mon_name
, SM_MAXSTRLEN
))
105 if (!xdr_int(xdrs
, &objp
->state
))
107 if (!xdr_opaque(xdrs
, objp
->priv
, 16))