VMS Help  —  TCPIP Services, Programming Interfaces, RPC XDR Routines, xdr_pointer
    Serializes and deserializes indirect pointers and the data being
    pointed to.
    Format
      #include  <tcpip$rpcxdr.h>
      bool_t  xdr_pointer(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 data being converted.
 objsize
    The size of the data structure in bytes.
 objproc
    The XDR procedure that filters the structure between its local
    form and its external representation.

2  –  Description

    An XDR routine for translating data structures that contain
    pointers to other structures, such as a linked list. The xdr_
    pointer routine is similar to the xdr_reference routine. The
    differences are that the xdr_pointer routine handles pointers
    with the value NULL and that it translates the pointer values to
    a boolean. If the boolean is TRUE, the data follows the boolean.

3  –  Return Values

    TRUE               Indicates success.
    FALSE              Indicates failure.
Close Help