HP-UX Multimedia Streaming Protocols (MSP) Programmer's Guide
The definition of the rtsp_range_t data structure is as follows:
typedef struct rtsp_range
{
uint8_t range_type;
uint8_t range_flag;
union
{
struct
{
rtsp_npt_t start;
rtsp_npt_t end;
} npt;
struct
{
rtsp_utc_t start;
rtsp_utc_t end;
} utc;
struct
{
rtsp_smpte_t start;
rtsp_smpte_t end;
} smpte;
} range;
struct rtsp_range *next;
} rtsp_range_t;
The range_type structure member identifies the type of timestamp. For more
information on the rtsp_cache_t data structure and enumerated values for its
members, type man 3 rtsp_init_range at the HP-UX command prompt.
The following lists the RTSP range APIs:
• rtsp_init_range
You can use rtsp_init_range to initialize the members of the rtsp_range_t
structure with the default values.
The declaration of rtsp_init_range is as follows:
#include <rtsp.h>
void rtsp_init_range(
rtsp_range_t *range
);
You must pass range, a pointer to the rtsp_range_t structure, as an argument
to rtsp_init_range.
54 Using MSP APIs