HP-UX Multimedia Streaming Protocols (MSP) Programmer's Guide
Table A-1 The librtsp APIs (continued)
DescriptionAPI
Creates a new rtsp_msg_t structure
and sets the RTSP status code and reason
phrase information.
rtsp_init_response_msg
Frees the memory allocated for the
rtsp_msg_t structure and its members.
rtsp_free_msg
Message Type
Checks if the rtsp_msg_t structure
represents an RTSP request message.
rtsp_is_request_msg
Checks if the rtsp_msg_t structure
represents an RTSP response message.
rtsp_is_response_msg
Message Request/Response Line
Sets the RTSP method and URL
information in the rtsp_msg_t
structure.
rtsp_set_msg_request_line
Gets the RTSP method and URL
information from the rtsp_msg_t
structure.
rtsp_get_msg_request_line
Sets the RTSP status code and reason
phrase information in the rtsp_msg_t
structure.
rtsp_set_msg_response_line
Gets the RTSP status code and reason
phrase information from the
rtsp_msg_t structure.
rtsp_get_msg_response_line
Message Header
Sets header information in the
rtsp_msg_t structure.
rtsp_set_msg_hdr
Gets header information from the
rtsp_msg_t structure.
rtsp_get_msg_hdr
Copies header from one rtsp_msg_t
structure to another.
rtsp_copy_msg_hdr
Appends header information in the
rtsp_msg_t structure.
rtsp_append_msg_hdr
Message Body
Sets message body in the rtsp_msg_t
structure.
rtsp_set_msg_body
108 The librtsp Summary