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

Subscription-State Header Functions 733
Control Functions
RvSipSubscriptionStateHeaderConstructInMsg()
RvSipSubscriptionStateHeaderConstructInMsg()
DESCRIPTION
Constructs a Subscription-State 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 RvSipSubscriptionStateHeaderConstructInMsg(
IN RvSipMsgHandle hSipMsg,
IN RvBool pushHeaderAtHead,
OUT RvSipSubscriptionStateHeaderHandle* 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 Subscription-State header.
RETURN VALUES
Returns RvStatus.