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

For more information, type man 3 rtsp_init_cache at the HP-UX command
prompt.
rtsp_alloc_cache
You can use rtsp_alloc_cache to dynamically allocate memory for the
rtsp_cache_t structure and to initialize the structure members with
application-specific values.
The declaration of rtsp_alloc_cache is as follows:
#include <rtsp.h>
rtsp_cache_t *rtsp_alloc_cache(
rtsp_cache_t *cache2dup
);
You must pass cache2dup, a pointer to the rtsp_cache_t structure, as an argument
to rtsp_alloc_cache.
Upon success, rtsp_init_cache returns a pointer to the rtsp_cache_t
structure. If memory cannot be dynamically allocated, the rtsp_alloc_cache
function returns NULL.
For more information, type man 3 rtsp_alloc_cache at the HP-UX command
prompt.
rtsp_free_cache
You can use rtsp_free_cache to free the dynamically allocated memory for
the rtsp_cache_t structure and its members.
The declaration of rtsp_free_cache is as follows:
#include <rtsp.h>
void rtsp_free_cache(
rtsp_cache_t *cache
);
You must pass cache, a pointer to the rtsp_cache_t structure to be freed, as an
argument to rtsp_free_cache.
The rtsp_free_cache function does not return a value.
For more information, type man 3 rtsp_free_cache at the HP-UX command
prompt.
Range Header
The rtsp_range_t data structure stores information about the range header. This
data structure is a union of the rtsp_smpte_t, rtsp_npt_t, and rtsp_utc_t data
structures, which hold information about the SMPTE, NPT, and UTC timestamps,
respectively. The rtsp.h file contains definitions of these data structures and the
various enumerated values for their members.
RTSP Library 53