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

Route-Hop Header Functions 675
Get and Set Functions
RvSipRouteHopHeaderGetStringLength()
RvSipRouteHopHeaderGetStringLength()
DESCRIPTION
Provides the length of string parameters to enable allocating an appropriate
buffer size before calling the Get function. Some of the Route-Hop header
parameters are kept in a string format, for example, the Route header display
name. In order to get such a parameter from the Route header, your application
should supply an adequate buffer to where the string will be copied.
SYNTAX
RvUint RvSipRouteHopHeaderGetStringLength(
IN RvSipRouteHopHeaderHandle hHeader,
IN RvSipRouteHopHeaderStringName stringName);
PARAMETERS
hHeader
The handle to the Route-Hop header.
stringName
The enumeration of the string name for which you require the length.
RETURN VALUES
Returns the length of the specified string.