HP-UX C SIP Stack Message Layer Reference Guide (January 2008)
Address Functions 107
SIP URL: Get and Set Functions
RvSipAddrUrlSetTransport()
RvSipAddrUrlSetTransport()
DESCRIPTION
Sets the transport protocol value in the URL object.
SYNTAX
RvStatus RvSipAddrUrlSetTransport(
IN RvSipAddressHandle hSipAddr,
IN RvSipTransport eTransport,
IN RvChar* strTransport);
PARAMETERS
hSipAddr
The handle to the URL address.
eTransport
The transport protocol enumeration value to be 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 RVSIP_TRANSPORT_OTHER, strTransport is copied to the
URL addressobject, otherwise strTransport is ignored.