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

354 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipContentDispositionHeaderGetStringLength()
RvSipContentDispositionHeaderGetStringLength()
DESCRIPTION
Some of the Content-Type header parameters are kept in a string format, for
example, the handling string. To get such a parameter from the content-type
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 RvSipContentDispositionHeaderGetStringLength(
IN RvSipContentDispositionHeaderHandle hHeader,
IN RvSipContentDispositionHeaderStringName stringName);
PARAMETERS
hHeader
The handle to the Content-Disposition header.
stringName
The enumeration of the string name for which you require the length.
RETURN VALUES
Returns the length of the specified string.