1 .\" @(#)rpc_xdr.3n 1.24 93/08/31 SMI; from SVr4
2 .\" Copyright 1989 AT&T
3 .\" @(#)rpc_xdr.new 1.1 89/04/06 SMI;
4 .\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
5 .\" $NetBSD: rpc_xdr.3,v 1.8 2009/04/11 16:03:29 joerg Exp $
10 .Nm xdr_accepted_reply ,
11 .Nm xdr_authsys_parms ,
15 .Nm xdr_rejected_reply ,
17 .Nd XDR library routines for remote procedure calls
23 .Fn xdr_accepted_reply "XDR *xdrs" "const struct accepted_reply *ar"
25 .Fn xdr_authsys_parms "XDR *xdrs" "struct authsys_parms *aupp"
27 .Fn xdr_callhdr "XDR *xdrs" "struct rpc_msg *chdr"
29 .Fn xdr_callmsg "XDR *xdrs" "struct rpc_msg *cmsg"
31 .Fn xdr_opaque_auth "XDR *xdrs" "struct opaque_auth *ap"
33 .Fn xdr_rejected_reply "XDR *xdrs" "const struct rejected_reply *rr"
35 .Fn xdr_replymsg "XDR *xdrs" "const struct rpc_msg *rmsg"
37 These routines are used for describing the
38 RPC messages in XDR language.
39 They should normally be used by those who do not
42 These routines return TRUE if they succeed, FALSE otherwise.
46 for the definition of the
51 .It Fn xdr_accepted_reply
52 Used to translate between RPC
53 reply messages and their external representation.
54 It includes the status of the RPC
55 call in the XDR language format.
56 In the case of success, it also includes the call results.
58 .It Fn xdr_authsys_parms
59 Used for describing UNIX operating system credentials.
60 It includes machine-name, uid, gid list, etc.
63 Used for describing RPC call header messages.
64 It encodes the static part of the call message header in the
66 It includes information such as transaction
67 ID, RPC version number, program and version number.
72 This includes all the RPC
73 call information such as transaction
74 ID, RPC version number, program number, version number,
75 authentication information, etc.
76 This is normally used by servers to determine information about the client
79 .It Fn xdr_opaque_auth
80 Used for describing RPC
81 opaque authentication information messages.
83 .It Fn xdr_rejected_reply
84 Used for describing RPC reply messages.
85 It encodes the rejected RPC message in the XDR language format.
86 The message could be rejected either because of version
87 number mis-match or because of authentication errors.
90 Used for describing RPC
92 It translates between the
93 RPC reply message and its external representation.
94 This reply could be either an acceptance,