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

The rtsp_init_range function does not return a value. For more information,
type man 3 rtsp_init_range at the HP-UX command prompt.
rtsp_alloc_range
You can use rtsp_alloc_range to dynamically allocate memory for the
rtsp_range_t structure and to initialize its members with application-specific
values.
The declaration of rtsp_alloc_range is as follows:
#include <rtsp.h>
rtsp_range_t *rtsp_alloc_range(
rtsp_range_t *range2dup
);
You must pass range2dup, a pointer to the rtsp_range_t structure, as an
argument to rtsp_alloc_range.
Upon success, rtsp_alloc_range returns a pointer to the rtsp_range_t
structure. If memory cannot be dynamically allocated, the rtsp_alloc_range
function returns NULL. For more information, type man 3 rtsp_alloc_range
at the HP-UX command prompt.
rtsp_free_range
You can use rtsp_free_range to free the dynamically allocated memory for
the rtsp_range_t structure and its members.
The declaration of rtsp_free_range is as follows:
#include <rtsp.h>
void rtsp_free_range(
rtsp_range_t *range
);
You must pass range, a pointer to the rtsp_range_t structure to be freed, as an
argument to rtsp_free_range.
The rtsp_free_range function does not return a value.
For more information, type man 3 rtsp_free_range at the HP-UX command
prompt.
RTP-Info Header
The rtsp_rtpinfo_t data structure stores information about the RTP-info header.
The rtsp.h file contains the definition of rtsp_rtpinfo_t data structure as follows:
typedef struct rtsp_rtpinfo
{
char *url;
int32_t seq;
RTSP Library 55