HP-UX C SIP Stack Message Layer Reference Guide (February 2008)
Subscription-State Header Functions 741
Get and Set Functions
RvSipSubscriptionStateHeaderGetStringLength()
RvSipSubscriptionStateHeaderGetStringLength()
DESCRIPTION
Some of the Subscription-State header parameters are kept in a string format, for
example, the Subscription-State header “other-params”. In order to get such a
parameter from the Subscription-State header, your application should supply an
adequate buffer to where the string will be copied. This function provides you
with the length of the string to enable you to allocate an appropriate buffer size
before calling the Get function.
SYNTAX
RvUint RvSipSubscriptionStateHeaderGetStringLength(
IN RvSipSubscriptionStateHeaderHandle hHeader,
IN RvSipSubscriptionStateHeaderStringName stringName);
PARAMETERS
hHeader
The handle to the Subscription-State header.
stringName
The enumeration of the string name for which you require the length.
RETURN VALUES
Returns the length of the specified string.