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

Body Functions 815
Get and Set Functions
RvSipBodyGetBodyStr()
RvSipBodyGetBodyStr()
DESCRIPTION
Gets the string of the body.
SYNTAX
RvStatus RvSipBodyGetBodyStr(
IN RvSipBodyHandle hBody,
IN RvChar *strBuffer,
IN RvUint bufferLen
OUT RvUint* actualLen);
PARAMETERS
hBody
The handle to the body object.
strBuffer
The buffer with which to fill the body string. The body string does not
necessarily end with '\0'. The body string might contain '\0' as part of the body
string.
bufferLen
The length of the buffer.
actualLen
The length of the body string. When the function returns, this parameter
indicates the actual length of the buffer. This is also relevant when the buffer
was insufficient.
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. If the body object contains a
list of body parts this function will return RV_ERROR_UNKNOWN. You can