HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
104 HP C SIP Stack Message Layer Reference Guide
SIP URL: Get and Set Functions
RvSipAddrUrlSetMethod()
RvSipAddrUrlSetMethod()
DESCRIPTION
Sets the method type in the URL address. If eMethodType is
RVSIP_METHOD_OTHER, strMethodType is copied to the header. Otherwise
strMethodType is ignored.
SYNTAX
RvStatus RvSipAddrUrlSetMethod(
IN RvSipAddressHandle hSipAddr,
IN RvSipMethodType eMethodType,
IN RvChar* pMethodTypeStr);
PARAMETERS
hHeader
The handle to the URL address.
eMethodType
The method type to be set in the object.
strMethodType
You can use this parameter only if the eMethodType parameter is set to
RVSIP_METHOD_OTHER. In this case, you can supply the method as a string.
RETURN VALUES
Returns RvStatus.