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

Subscription-State Header Functions 737
Control Functions
RvSipSubscriptionStateHeaderParse()
RvSipSubscriptionStateHeaderParse()
DESCRIPTION
Parses a SIP textual Subscription-State header into a Subscription-State header.
An example of a SIP textual Subscription-State header is “Subscription-State:
“active”;expires=100”. All the textual parameters are placed inside the object.
Note Before performing the parse operation, the SIP Stack resets all the header
parameters. Therefore, if the parse function fails, you will not be able to get the
previous header parameter values.
SYNTAX
RvStatus RvSipSubscriptionStateHeaderParse(
IN RvSipSubscriptionStateHeaderHandle hHeader,
IN RvChar* buffer);
PARAMETERS
hHeader
A handle to the Subscription-State header.
buffer
A buffer containing a textual Subscription-State header.
RETURN VALUES
Returns RvStatus.