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

156 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipAllowHeaderSetMethodType()
RvSipAllowHeaderSetMethodType()
DESCRIPTION
Sets the method type in the Allow header.
SYNTAX
RvStatus RvSipAllowHeaderSetMethodType(
IN RvSipAllowHeaderHandle hHeader,
IN RvSipMethodTypeeM ethodType,
IN RvChar* strMethodType);
PARAMETERS
hHeader
The handle to the Allow header.
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.
REMARKS
If eMethodType is RVSIP_METHOD_OTHER, strMethodType is copied to the
header. Otherwise strMethodType is ignored.