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

Functions for All Headers 829
Control Functions
RvSipHeaderIsBadSyntax()
RvSipHeaderIsBadSyntax()
DESCRIPTION
Checks if the given header is a bad-syntax header or not. 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. Use this
function to check whether or not this header contains a bad-syntax string.
SYNTAX
RvBool RvSipHeaderIsBadSyntax(
IN void* pHeader,
IN RvSipHeaderType eHeaderType);
PARAMETERS
pHeader
A handle to the header.
eHeaderType
The type of given header.
RETURN VALUES
Returns RV_TRUE the if the header contains a bad-syntax string or RV_FALSE
if header does not contain a bad-syntax string. If pHeader is NULL, the function
returns RV_FALSE.