HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
814 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipBodyGetBodyStrLength()
RvSipBodyGetBodyStrLength()
DESCRIPTION
Gets the length of the body string.
SYNTAX
RvUint32 RvSipBodyGetBodyStrLength(
IN RvSipBodyHandle hBody);
PARAMETERS
hBody
The handle to the body object.
RETURN VALUES
The length of the body string.
REMARKS
If the body is of type multipart, it might contain a list of body parts. The body
string and the list of body parts may not represent the same body, since each of
the body parts can be independently manipulated. You can use this function only
when the body object does not contain a list of body parts. If the body object
contains a list of body parts, this function will return zero. In this case, you can
use RvSipBodyEncode().
RvSipBodyEncode() will encode the list of body parts and will return the length
of the encoded string, which represents the length of the body string.