HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
Via Header Functions 761
Control Functions
RvSipViaHeaderConstructInMsg()
RvSipViaHeaderConstructInMsg()
DESCRIPTION
Constructs a Via header inside a given message. The header is kept in the header
list of the message. You can choose to insert the header either at the head or tail
of the list.
SYNTAX
RvStatus RvSipViaHeaderConstructInMsg(
IN RvSipMsgHandle hSipMsg,
IN RvBool pushHeaderAtHead,
OUT RvSipViaHeaderHandle* hHeader);
PARAMETERS
hSipMsg
The handle to the message.
pushHeaderAtHead
A Boolean value indicating whether the header should be pushed to the head of
the list (RV_TRUE) or to the tail (RV_FALSE).
hHeader
The handle to the newly constructed Via header.
RETURN VALUES
Returns RvStatus.