logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xdr_accepted_reply, xdr_authsys_parms, xdr_callhdr, xdr_callmsg, xdr_opaque_auth, xdr_rejected_reply,

Availability

       These functions are part of libtirpc.

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.

Name

       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

Routines

       See rpc(3) for the definition of the XDR data structure.

       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 language 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.

See Also

rpc(3), xdr(3)

Debian                                             May 3, 1993                                        RPC_XDR(3)

Synopsis

#include<rpc/rpc.h>bool_txdr_accepted_reply(XDR*xdrs, structaccepted_reply*ar);

       bool_txdr_authsys_parms(XDR*xdrs, structauthsys_parms*aupp);

       bool_txdr_callhdr(XDR*xdrs, structrpc_msg*chdr);

       bool_txdr_callmsg(XDR*xdrs, structrpc_msg*cmsg);

       bool_txdr_opaque_auth(XDR*xdrs, structopaque_auth*ap);

       bool_txdr_rejected_reply(XDR*xdrs, structrejected_reply*rr);

       bool_txdr_replymsg(XDR*xdrs, structrpc_msg*rmsg);

See Also