HP-UX C SIP Stack Message Layer Reference Guide (February 2008)
Message Object Functions 43
Get and Set Functions
RvSipMsgSetToHeader()
RvSipMsgSetToHeader()
DESCRIPTION
Sets a To header in the message. If there is no To header in the message, the
function constructs a To header.
SYNTAX
RvStatus RvSipMsgSetToHeader(
IN RvSipMsgHandle hSipMsg,
IN RvSipPartyHeaderHandle hToHeader);
PARAMETERS
hSipMsg
The handle to the message.
hToHeader
The handle to the To header to be set. If a NULL is supplied, the existing To
header is removed from the message.
RETURN VALUES
Returns RvStatus.