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

58 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipMsgSetBodyObject()
RvSipMsgSetBodyObject()
DESCRIPTION
Sets a body object in a given message. The given body is copied to the message.
If the body object contains a Content-Type header, it is copied to the message as
well.
SYNTAX
RvStatus RvSipMsgSetBodyObject(
IN RvSipMsgHandle hSipMsg,
IN RvSipBodyHandle hBody);
PARAMETERS
hSipMsg
The handle to the message.
hBody
The body object to be set to the message. If NULL is supplied, the existing body
is removed from the message.
RETURN VALUES
Returns RvStatus.