z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


xdr_array()

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

Format

#include <rpc.h>
bool_t
xdr_array(xdrs, arrp, sizep, maxsize, elsize, elproc)
XDR *xdrs;
char **arrp;
u_int *sizep;
u_int maxsize;
u_int elsize;
xdrproc_t elproc;

Parameters

xdrs
Specifies the pointer to an XDR stream.
arrp
Specifies the address of the pointer to the array.
sizep
Specifies the pointer to the element count of the array.
maxsize
Specifies the maximum number of elements accepted.
elsize
Specifies the size of each of the array’s elements, found using sizeof().
elproc
Specifies the XDR routine that translates an individual array element.

Usage

The xdr_array() call translates between an array and its external representation.

Return codes

The value 1 indicates success; the value 0 indicates an error.

Context

  • clnt_broadcast()
  • clnt_call()
  • clnt_freeres()
  • pmap_rmtcall()
  • registerrpc()
  • svc_freeargs()
  • svc_getargs()
  • svc_sendreply()

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014