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

You must pass the following arguments to rtsp_parse_url:
url
Pointer to a location containing a string in RFC 2326 RTSP URL format.
rtspurl
Pointer to a location containing the rtsp_url_t structure.
Upon success, rtsp_parse_url returns RTSP_SUCCESS and the parsed URL is stored
in the location pointed to by the rtspurl argument. Upon failure, it returns one of the
following error values:
RTSP_EINVAL
The url argument is NULL.
The rtspurl argument is NULL.
The location pointed to by the url argument does not contain the string in RFC
2326 format.
RTSP_EPROTONOSUPPORT
UDP transport was specified and is currently not supported.
For more information, type man 3 rtsp_parse_url at the HP-UX command prompt.
RTSP Connection Option APIs
Options are attributes of an RTSP connection, such as socket identifier and mapped
session, that can be set or retrieved. Certain options can only be set and other options
can only be retrieved.
The following lists the RTSP connection APIs:
rtsp_set_conn_opt
You can use rtsp_set_conn_opt to set options associated with an RTSP
connection.
The declaration of rtsp_set_conn_opt is as follows:
#include <rtsp.h>
rtsp_error_t rtsp_set_conn_opt(
rtsp_conn_t *conn,
rtsp_option_type_t opt_type,
void *opt_value,
int opt_size
);
RTSP Library 61