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

270 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipAuthorizationHeaderGetStringLength()
RvSipAuthorizationHeaderGetStringLength()
DESCRIPTION
Some of the Authorization header parameters are kept in a string format, for
example, the Authorization header user name string. In order to get such a
parameter from the Authorization 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 RvSipAuthorizationHeaderGetStringLength(
IN RvSipAuthorizationHeaderHandle hHeader,
IN RvSipAuthorizationHeaderStringName eStringName);
PARAMETERS
hHeader
The handle to the Authorization header.
eStringName
The enumeration of the string name for which you require the length.
RETURN VALUES
Returns the length of the specified string.