VMS Help  —  TCPIP Services, Programming Interfaces, RPC XDR Routines, xdr_callhdr
    Serializes and deserializes the static part of a call message
    header.
    Format
      #include  <tcpip$rpcxdr.h>
      bool_t  xdr_callhdr(XDR *xdrs, struct rpc_msg *chdrp);

1  –  Arguments

 xdrs
    A pointer to an XDR stream handle created by one of the XDR
    stream-handle creation routines.
 chdrp
    A pointer to the call header data.

2  –  Description

    Describes call header messages. This routine is useful for users
    who want to generate messages without using the ONC RPC package.
    The xdr_callhdr routine encodes the following fields: transaction
    ID, direction, RPC version, server program number, and server
    version.

3  –  Return Values

    TRUE               Indicate success.
    FALSE              Indicates failure.
Close Help