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

Subscription-State Header Functions 757
Get and Set Functions
RvSipSubscriptionStateHeaderSetStrBadSyntax()
RvSipSubscriptionStateHeaderSetStrBadSyntax()
DESCRIPTION
Sets a bad-syntax string in the object. A SIP header has the following grammar:
header-name:header-value. When a header contains a syntax error, the header-
value is kept as a separate bad-syntax string. By using this function you can
create a header with a bad-syntax string. Setting a bad-syntax string to the
header will mark the header as an invalid syntax header. You can use this
function when you want to send an illegal Subscription-State header.
SYNTAX
RvStatus RvSipSubscriptionStateHeaderSetStrBadSyntax(
IN RvSipSubscriptionStateHeaderHandle hHeader,
IN RvChar* strBadSyntax);
PARAMETERS
hHeader
The handle to the header.
strBadSyntax
The bad-syntax string.
RETURN VALUES
Returns RvStatus.