HP-UX C SIP Stack Message Layer Reference Guide (February 2008)

Contact Header Functions 313
Control Functions
RvSipContactHeaderConstructInMsg()
RvSipContactHeaderConstructInMsg()
DESCRIPTION
Constructs a Contact 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 RvSipContactHeaderConstructInMsg(
IN RvSipMsgHandle hSipMsg,
IN RvBool pushHeaderAtHead,
OUT RvSipContactHeaderHandle* 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 Contact header.
RETURN VALUES
Returns RvStatus.