HP-UX C SIP Stack Message Layer Reference Guide (February 2008)
Authorization Header Functions 275
Get and Set Functions
RvSipAuthorizationHeaderSetAuthScheme()
RvSipAuthorizationHeaderSetAuthScheme()
DESCRIPTION
Sets the authentication scheme in the Authorization header.
SYNTAX
RvStatus RvSipAuthorizationHeaderSetAuthScheme(
IN RvSipAuthorizationHeaderHandle hHeader,
IN RvSipAuthScheme eAuthScheme,
IN RvChar* strAuthScheme);
PARAMETERS
hHeader
The handle to the Authorization header.
eAuthScheme
The Authentication scheme to be set in the object.
strAuthScheme
Text string giving the Authentication scheme to be set in the object. Use this
parameter only if eAuthScheme is RVSIP_AUTH_SCHEME_OTHER.
Otherwise, the parameter is set to NULL.
RETURN VALUES
Returns RvStatus.
REMARKS
If eAuthScheme is RVSIP_AUTH_SCHEME_OTHER, strAuthScheme is
copied to the header. Otherwise, strAuthScheme is ignored.