Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rpc_xdr(3) — Atari System V ue12

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.

      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
               success, 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
               format.  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, program 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);

               Used for describing RPC opaque authentication information
               messages.



   7/91                                                                 Page 1









   rpc_xdr(3N)                                                     rpc_xdr(3N)


         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                                                                 7/91





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