1RPC_XDR(3) BSD Library Functions Manual RPC_XDR(3)
2
4 xdr_accepted_reply, xdr_authsys_parms, xdr_callhdr, xdr_callmsg,
5 xdr_opaque_auth, xdr_rejected_reply, xdr_replymsg — XDR library routines
6 for remote procedure calls
7
9 Standard C Library (libc, -lc)
10
12 #include <rpc/rpc.h>
13
14 bool_t
15 xdr_accepted_reply(XDR *xdrs, struct accepted_reply *ar);
16
17 bool_t
18 xdr_authsys_parms(XDR *xdrs, struct authsys_parms *aupp);
19
20 bool_t
21 xdr_callhdr(XDR *xdrs, struct rpc_msg *chdr);
22
23 bool_t
24 xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg);
25
26 bool_t
27 xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap);
28
29 bool_t
30 xdr_rejected_reply(XDR *xdrs, struct rejected_reply *rr);
31
32 bool_t
33 xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg);
34
36 These routines are used for describing the RPC messages in XDR language.
37 They should normally be used by those who do not want to use the RPC
38 package directly. These routines return TRUE if they succeed, FALSE oth‐
39 erwise.
40
42 See rpc(3) for the definition of the XDR data structure.
43
44 xdr_accepted_reply()
45 Used to translate between RPC reply messages and their external
46 representation. It includes the status of the RPC call in the XDR
47 language format. In the case of success, it also includes the
48 call results.
49
50 xdr_authsys_parms()
51 Used for describing UNIX operating system credentials. It
52 includes machine-name, uid, gid list, etc.
53
54 xdr_callhdr()
55 Used for describing RPC call header messages. It encodes the
56 static part of the call message header in the XDR language format.
57 It includes information such as transaction ID, RPC version num‐
58 ber, program and version number.
59
60 xdr_callmsg()
61 Used for describing RPC call messages. This includes all the RPC
62 call information such as transaction ID, RPC version number, pro‐
63 gram number, version number, authentication information, etc.
64 This is normally used by servers to determine information about
65 the client RPC call.
66
67 xdr_opaque_auth()
68 Used for describing RPC opaque authentication information mes‐
69 sages.
70
71 xdr_rejected_reply()
72 Used for describing RPC reply messages. It encodes the rejected
73 RPC message in the XDR language format. The message could be
74 rejected either because of version number mis-match or because of
75 authentication errors.
76
77 xdr_replymsg()
78 Used for describing RPC reply messages. It translates between the
79 RPC reply message and its external representation. This reply
80 could be either an acceptance, rejection or NULL.
81
83 rpc(3), xdr(3)
84
85BSD May 3, 1993 BSD