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

Session-Expires Header Functions 711
Control Functions
RvSipSessionExpiresHeaderConstructInMsg()
RvSipSessionExpiresHeaderConstructInMsg()
DESCRIPTION
Constructs a Session-Expires 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 RvSipSessionExpiresHeaderConstructInMsg(
IN RvSipMsgHandle hSipMsg,
IN RvBool pushHeaderAtHead,
OUT RvSipSessionExpiresHeaderHandle* phHeader);
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).
phHeader
The handle to the newly constructed Session-Expires header.
RETURN VALUES
Returns RvStatus.