*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> rpc_xdr (3n)              
Title
Content
Arch
Section
 

Contents


rpc_xdr(3N)							   rpc_xdr(3N)


NAME    [Toc]    [Back]

     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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]
     See rpc(3N) for the definition of the XDR data structure.

     #include <rpc/rpc.h>

     bool_t
     xdr_accepted_reply(XDR *xdrs, const struct	accepted_reply *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.

     bool_t
     xdr_authsys_parms(XDR *xdrs, const	struct authsys_parms *aupp);

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

     void
     xdr_callhdr(XDR *xdrs, const struct rpc_msg *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.

     bool_t
     xdr_callmsg(XDR *xdrs, const struct rpc_msg *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.

     bool_t
     xdr_opaque_auth(XDR *xdrs,	const struct opaque_auth *ap);

	  Used for describing RPC opaque authentication	information messages.






									Page 1






rpc_xdr(3N)							   rpc_xdr(3N)



     bool_t
     xdr_rejected_reply(XDR *xdrs, const struct	rejected_reply *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.

     bool_t
     xdr_replymsg(XDR *xdrs, const struct rpc_msg *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    [Toc]    [Back]

      
      
     rpc(3N)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
get_myaddress FreeBSD library routines for remote procedure calls
pmap_getmaps FreeBSD library routines for remote procedure calls
pmap_getport FreeBSD library routines for remote procedure calls
pmap_rmtcall FreeBSD library routines for remote procedure calls
pmap_set FreeBSD library routines for remote procedure calls
rpc Tru64 library routines for ONC remote procedure calls
rpc_functions Tru64 library routines for ONC remote procedure calls
pmap_unset FreeBSD library routines for remote procedure calls
clntudp_create FreeBSD library routines for remote procedure calls
clntudp_bufcreate FreeBSD library routines for remote procedure calls
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service