Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rpc(3N)

rpc_xdr(3N)                                                     rpc_xdr(3N)

NAME
     rpcxdr: xdracceptedreply, xdrauthsysparms, xdrcallhdr,
     xdrcallmsg, xdropaqueauth, xdrrejectedreply, xdrreplymsg - XDR
     library routines for remote procedure calls

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.

     If you use one of the RPC functions, you must link the libnsl library
     at compilation (cc -lnsl).

   Routines

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

     #include <rpc/rpc.h>

     boolt
     xdracceptedreply(XDR *xdrs, const struct acceptedreply *ar);

          Used for encoding RPC reply messages. It encodes the status of
          the RPC call in the XDR language format, and in the case of suc-
          cess, it encodes the call results also.

     boolt
     xdrauthsysparms(XDR *xdrs, const struct authsysparms *aupp);

          Used for describing operating system credentials. It includes
          machine-name, uid, gid list, etc.

     void
     xdrcallhdr(XDR *xdrs, const struct rpcmsg *chdr);

          Used for describing RPC call header messages. It encodes the
          static part of the call message header in the XDR language for-
          mat. It includes information such as transaction ID, RPC version
          number, program and version number.

     boolt
     xdrcallmsg(XDR *xdrs, const struct rpcmsg *cmsg);

          Used for describing RPC call messages. This includes all the RPC
          call information such as transaction ID, RPC version number, pro-
          gram number, version number, authentication information, etc.
          This is normally used by servers to determine information about
          the client RPC call.

     boolt
     xdropaqueauth(XDR *xdrs, const struct opaqueauth *ap);




Page 1                       Reliant UNIX 5.44                Printed 11/98

rpc_xdr(3N)                                                     rpc_xdr(3N)

          Used for describing RPC opaque authentication information mes-
          sages.

     boolt
     xdrrejectedreply(XDR *xdrs, const struct rejectedreply *rr);

          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.

     boolt
     xdrreplymsg(XDR *xdrs, const struct rpcmsg *rmsg);

          Used for describing RPC reply messages. It encodes all the RPC
          reply message in the XDR language format This reply could be
          either an acceptance, rejection or NULL.

SEE ALSO
     rpc(3N).


































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026