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

Date Header Functions 447
Get and Set Functions
RvSipDateHeaderGetStringLength()
RvSipDateHeaderGetStringLength()
DESCRIPTION
Some of the Date header parameters are kept in a string format. In order to get
such a parameter from the Date 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 RvSipDateHeaderGetStringLength(
IN RvSipDateHeaderHandle hHeader,
IN RvSipDateHeaderStringName stringName);
PARAMETERS
hHeader
The handle to the Date header.
stringName
The enumeration of the string name for which you require the length.
RETURN VALUES
Returns RvStatus.