VMS Help
TCPIP Services, Programming Interfaces, RPC XDR Routines, xdr_array

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    Serializes and deserializes the elements of a variable-length
    array.
    Format
      #include  <tcpip$rpcxdr.h>
      bool_t  xdr_array(XDR *xdrs, char **arrp, u_int *sizep, u_int
              maxsize, u_int elsize, xdrproc_t elproc);

  1 - Arguments

 xdrs
    A pointer to an XDR stream handle created by one of the XDR
    stream handle creation routines.
 arrp
    A pointer to the pointer to the array.
 sizep
    A pointer to the number of elements in the array. This element
    count cannot exceed the maxsize parameter.
 maxsize
    The maximum size of the sizep parameter. This value is the
    maximum number of elements that the array can hold.
 elsize
    The size, in bytes, of each of the array's elements.
 elproc
    The XDR routine to call that handles each element of the array.

  2 - Description

    A filter primitive that translates between variable-length arrays
    and their corresponding external representations.

  3 - Return Values

    TRUE               Indicates success.
    FALSE              Indicates failure.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.