VMS Help  —  TCPIP Services, Programming Interfaces, RPC XDR Routines, xdr_reference
    Serializes and deserializes indirect pointers and the data being
    pointed to.
    Format
      #include  <tcpip$rpcxdr.h>
      bool_t  xdr_reference(XDR *xdrs, char **objpp, u_int objsize,
              xdrproc_t objproc);

1  –  Arguments

 xdrs
    A pointer to an XDR stream handle created by one of the XDR
    stream-handle creation routines.
 objpp
    A pointer to a pointer to the structure containing the data
    being converted. If objpp is zero, the xdr_reference routine
    allocates the necessary storage when decoding. This argument must
    be nonzero during encoding.
 objsize
    The size of the structure in bytes.
 objproc
    The XDR procedure that filters the structure between its local
    form and its external representation.

2  –  Description

    A primitive that provides pointer chasing within structures.

3  –  Return Values

    TRUE               Indicates success.
    FALSE              Indicates failure.
Close Help