Networking Services Library Functions rpcxdr(3NSL)
NAME
rpcxdr, xdracceptedreply, xdrauthsysparms, xdrcallhdr,
xdrcallmsg, xdropaqueauth, xdrrejectedreply,
xdrreplymsg - XDR library routines for remote procedure
calls
SYNOPSIS
boolt xdracceptedreply(XDR *xdrs, const struct acceptedreply *ar);
boolt xdrauthsysparms(XDR *xdrs, struct authsysparms *aupp);
void xdrcallhdr(XDR *xdrs, struct rpcmsg *chdr);
boolt xdrcallmsg(XDR *xdrs, struct rpcmsg *cmsg);
boolt xdropaqueauth(XDR *xdrs, struct opaqueauth *ap);
boolt xdrrejectedreply(XDR *xdrs, const struct rejectedreply *rr);
boolt xdrreplymsg(XDR *xdrs, const struct rpcmsg *rmsg);
DESCRIPTION
These routines are used for describing the RPC messages in
XDR language. They should normally be used by those who do
not want to use the RPC package directly. These routines
return TRUE if they succeed, FALSE otherwise.
Routines
See rpc(3NSL) for the definition of the XDR data structure.
#include
xdracceptedreply() Used to translate between RPC reply
messages and their external
representation. It includes the
status of the RPC call in the XDR
language format. In the case of
success, it also includes the call
results.
xdrauthsysparms() Used for describing UNIX operating
system credentials. It includes
SunOS 5.11 Last change: 30 Dec 1996 1
Networking Services Library Functions rpcxdr(3NSL)
machine-name, uid, gid list, etc.
xdrcallhdr() Used for describing RPC call header
messages. It encodes the static part
of the call message header in the
XDR language format. It includes
information such as transaction ID,
RPC version number, program and ver-
sion number.
xdrcallmsg() Used for describing RPC call mes-
sages. This includes all the RPC
call information such as transaction
ID, RPC version number, program
number, version number, authentica-
tion information, etc. This is nor-
mally used by servers to determine
information about the client RPC
call.
xdropaqueauth() Used for describing RPC opaque
authentication information messages.
xdrrejectedreply() Used for describing RPC reply mes-
sages. It encodes the rejected RPC
message in the XDR language format.
The message could be rejected either
because of version number mis-match
or because of authentication errors.
xdrreplymsg() Used for describing RPC reply mes-
sages. It translates between the RPC
reply message and its external
representation. This reply could be
either an acceptance, rejection or
NUL.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 30 Dec 1996 2
Networking Services Library Functions rpcxdr(3NSL)
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level Safe
SEE ALSO
rpc(3NSL), xdr(3NSL), attributes(5)
SunOS 5.11 Last change: 30 Dec 1996 3
|