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

You must pass the following arguments to rtsp_set_conn_opt:
conn
RTSP connection for which the option is being set.
opt_type
Parameter that identifies the option being set.
opt_value
Pointer to a location containing the value of the option.
opt_size
Size of the data structure in the location pointed to by opt_value.
Upon success, rtsp_set_conn_opt returns RTSP_SUCCESS. Upon failure, it
returns RTSP_EINVAL in any of the following cases:
RTSP_EINVAL
The conn argument is NULL.
The option identified by opt_type is invalid.
The opt_value argument is required, but is specified as NULL.
The opt_size argument is required, and the value specified in the opt_size
argument is invalid.
For more information, type man 3 rtsp_set_conn_opt at the HP-UX command
prompt.
rtsp_get_conn_opt
You can use rtsp_get_conn_opt to retrieve the options associated with an RTSP
connection.
The declaration of rtsp_get_conn_opt is as follows:
#include <rtsp.h>
rtsp_error_t rtsp_get_conn_opt(
rtsp_conn_t *conn,
rtsp_option_type_t opt_type,
void *opt_value,
int *opt_size
);
You must pass the following arguments to rtsp_get_conn_opt:
conn
RTSP connection for which the option is being retrieved.
opt_type
Parameter that identifies the option being retrieved.
62 Using MSP APIs