Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xdr_accepted_reply(3) [osf1 man page]

rpc_xdr(3)						     Library Functions Manual							rpc_xdr(3)

NAME
rpc_xdr, xdr_accepted_reply, xdr_authunix_parms, xdr_callhdr, xdr_callmsg, xdr_opaque_auth, xdr_rejected_reply, xdr_replymsg - XDR library routines for ONC remote procedure calls SYNOPSIS
#include <rpc/xdr.h> xdr_accepted_reply( XDR *xdrs, struct accepted_reply *ar); xdr_authunix_parms( XDR *xdrs, struct authunix_parms *aupp); void xdr_callhdr( XDR *xdrs, struct rpc_msg *chdr); xdr_callmsg( XDR *xdrs, struct rpc_msg *cmsg); xdr_opaque_auth( XDR *xdrs, struct opaque_auth *ap); xdr_rejected_reply( XDR *xdrs, struct rejected_reply *rr); xdr_replymsg( XDR *xdrs, struct rpc_msg *rmsg); DESCRIPTION
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the server. Upon receipt of the packet, the server calls a dispatch routine to perform the requested service, and then sends back a reply. Finally, the procedure call returns to the client. Unless otherwise indicated, the routines described in this reference page are thread safe (that is, they can be used safely in a multi- threaded environment). Routines that are not thread safe are flagged as such. Encodes RPC reply messages. This routine is useful for users who wish to generate RPC-style messages without using the RPC package. Describes UNIX credentials. This routine is useful for users who wish to generate these credentials without using the RPC authentication package. Describes RPC call header messages. This routine is useful for users who wish to generate RPC-style messages without using the RPC package. Describes RPC call messages. This routine is use- ful for users who wish to generate RPC-style messages without using the RPC package. Describes RPC authentication information messages. This routine is useful for users who wish to generate RPC-style messages without using the RPC package. Describes RPC reply messages. This routine is useful for users who want to generate RPC-style messages without using the RPC package. Describes RPC reply messages. This routine is useful for users who want to generate RPC-style messages without using the RPC package. RELATED INFORMATION
rpc_clnt(3), rpc_misc(3), rpc_svc(3), xdr(3) Remote Procedure Calls: Protocol Specifications - RFC 1050 delim off rpc_xdr(3)

Check Out this Related Man Page

rpc_xdr(3NSL)					       Networking Services Library Functions					     rpc_xdr(3NSL)

NAME
rpc_xdr, xdr_accepted_reply, xdr_authsys_parms, xdr_callhdr, xdr_callmsg, xdr_opaque_auth, xdr_rejected_reply, xdr_replymsg - XDR library routines for remote procedure calls SYNOPSIS
bool_t xdr_accepted_reply(XDR *xdrs, const struct accepted_reply *ar); bool_t xdr_authsys_parms(XDR *xdrs, struct authsys_parms *aupp); void xdr_callhdr(XDR *xdrs, struct rpc_msg *chdr); bool_t xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg); bool_t xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap); bool_t xdr_rejected_reply(XDR *xdrs, const struct rejected_reply *rr); bool_t xdr_replymsg(XDR *xdrs, const struct rpc_msg *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 <rpc/rpc.h> xdr_accepted_reply() Used to translate between RPC reply messages and their external representation. It includes the status of the RPC call in the XDR lan- guage format. In the case of success, it also includes the call results. xdr_authsys_parms() Used for describing UNIX operating system credentials. It includes machine-name, uid, gid list, etc. xdr_callhdr() 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 version number. xdr_callmsg() Used for describing RPC call messages. This includes all the RPC call information such as transaction ID, RPC version number, program number, version number, authentication information, etc. This is normally used by servers to determine information about the client RPC call. xdr_opaque_auth() Used for describing RPC opaque authentication information messages. xdr_rejected_reply() Used for describing RPC reply messages. 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. xdr_replymsg() Used for describing RPC reply messages. It translates between the RPC reply message and its external representation. This reply could be either an acceptance, rejection or NULL. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
rpc(3NSL), xdr(3NSL), attributes(5) SunOS 5.10 30 Dec 1996 rpc_xdr(3NSL)
Man Page