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

Address Functions 83
Get and Set Functions
RvSipAddrGetStringLength()
RvSipAddrGetStringLength()
DESCRIPTION
Some of the address parameters are kept in a string format, such as the address
host name. In order to get such a parameter from the address, 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 RvSipAddrGetStringLength(
IN RvSipAddressHandle hSipAddr,
IN RvSipAddressStringName stringName);
PARAMETERS
hHeader
The handle to the address.
stringName
The enumeration of the string name for which you require the length.
RETURN VALUES
Returns the length of the specified string.