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

46 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipMsgGetContentLengthHeader()
RvSipMsgGetContentLengthHeader()
DESCRIPTION
Gets the content length of the message. The content length indicates the size of
the body string.
SYNTAX
RvInt32 RvSipMsgGetContentLengthHeader(
IN RvSipMsgHandle hSipMsg);
PARAMETERS
hSipMsg
The handle to the message.
RETURN VALUES
Returns content length or UNDEFINED if no body is set in the message.
REMARKS
If the body is of type multipart and holds a list of body parts, this
function will return UNDEFINED.
To receive the content-length of a multipart body use
RvSipMsgGetStringLength() with body enumeration.