HP-UX Multimedia Streaming Protocols (MSP) Programmer's Guide

void rtsp_free_xport_spec_flds(
rtsp_xport_spec_t *xport_spec
);
You must pass xport_spec, a pointer to the rtsp_xport_spec_t structure, as an
argument to rtsp_free_xport_spec_flds.
The rtsp_free_xport_spec_flds function does not return a value.
For more information, type man 3 rtsp_free_xport_spec_flds at the HP-UX
command prompt.
RTSP URL APIs
The RTSP URL data structure, rtsp_url_t, stores information about the RTSP URL,
such as the protocol being used, host, port, and absolute path.
The definition of the rtsp_url_t data structure is as follows:
typedef struct rtsp_url
{
uint8_t family;
uint8_t protocol;
uint16_t port;
char host[RTSP_MAX_HOST_LEN];
char abspath[RTSP_MAX_PATH_LEN];
} rtsp_url_t;
The family structure member can take one of the following values:
RTSP_AF_NONE
RTSP_AF_INET
RTSP_AF_INET6
RTSP_AF_INET denotes an IPv4 address in the RTSP URL data structure and
RTSP_AF_INET6 denotes an IPv6 address in the RTSP URL data structure. Note that
IPv6 addresses in the RTSP URL string must be enclosed within [ and ] brackets.
The protocol structure member can take one of the following values:
RTSP_PROTO_TCP
RTSP_PROTO_UDP
RTSP_PROTO_TCP indicates TCP transport and RTSP_PROTO_UDP denotes UDP
transport.
The port, host, and abspath structure members store information about the port,
host, and absolute path specified in the RTSP URL. The host and the abspath structure
members can contain only a maximum of RTSP_MAX_HOST_LEN and
RTSP_MAX_PATH_LEN characters, respectively, and are NULL terminated.
RTSP_MAX_HOST_LEN and RTSP_MAX_PATH_LEN are defined in the rtsp.h file.
You can use rtsp_parse_url to parse a string containing the RTSP URL in RFC 2326
format into the rtsp_url_t structure.
60 Using MSP APIs