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

772 HP C SIP Stack Message Layer Reference Guide
Get and Set Functions
RvSipViaHeaderSetTransport()
RvSipViaHeaderSetTransport()
DESCRIPTION
Sets the transport type the Via header.
SYNTAX
RvStatus RvSipViaHeaderSetTransport(
IN RvSipViaHeaderHandle hSipViaHeader,
IN RvSipTransport eTransport,
IN RvChar* strTransport);
PARAMETERS
hSipViaHeader
The handle to the Via header.
eTransport
The enumeration transport protocol to set in the object.
strTransport
You can use this parameter only if the eTransport parameter is set to
RVSIP_TRANSPORT_OTHER. In this case you can supply the transport
protocol as a string.
RETURN VALUES
Returns RvStatus.
REMARKS
If eTransport is set to RVSIP_TRANSPORT_OTHER strTransport is copied to
the header. Otherwise, strTransport is ignored.