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

For more information, type man 3 rtsp_get_msg_response_line at the
HP-UX command prompt.
Header Information APIs
You can use the following APIs to set, modify, and retrieve header information in RTSP
messages:
rtsp_set_msg_hdr
You can use rtsp_set_msg_hdr to set the header field in an RTSP message. The
declaration of rtsp_set_msg_hdr is as follows:
#include <rtsp.h>
rtsp_error_t rtsp_set_msg_hdr(
rtsp_msg_t *msg,
rtsp_hdr_type_t hdr_type,
void *value,
int size
);
You must pass the following arguments to rtsp_set_msg_hdr:
msg
Pointer to a location containing the rtsp_msg_t structure.
hdr_type
Enumerated RTSP header field type.
value
Pointer to a location containing the value for the header field.
size
Size (in bytes) of the location pointed to by the value argument.
RTSP Library 45