HP-UX Multimedia Streaming Protocols (MSP) Programmer's Guide
For more information, type man 3 rtsp_init_xport_spec at the HP-UX
command prompt.
• rtsp_alloc_xport_spec
You can use rtsp_alloc_xport_spec to dynamically allocate memory for
rtsp_xport_spec_t structure and to initialize its members with
application-specific values.
The declaration of rtsp_alloc_xport_spec is as follows:
#include <rtsp.h>
rtsp_xport_spec_t *rtsp_alloc_xport_spec(
rtsp_xport_spec_t *xspec2dup
);
You must pass xspec2dup, a pointer to a rtsp_xport_spec_t structure, as an
argument to rtsp_alloc_xport_spec.
Upon success, rtsp_alloc_xport_spec returns a pointer to the
rtsp_xport_spec_t structure. If memory cannot be dynamically allocated,
rtsp_alloc_xport_spec returns NULL.
For more information, type man 3 rtsp_alloc_xport_spec at the HP-UX
command prompt.
• rtsp_free_xport_spec
You can use rtsp_free_xport_spec to free the dynamically allocated memory
for the rtsp_xport_spec_t structure and its members.
The declaration of rtsp_free_xport_spec is as follows:
#include <rtsp.h>
void rtsp_free_xport_spec(
rtsp_xport_spec_t *xport_spec
);
You must pass xport_spec, a pointer to the rtsp_xport_spec_t structure to be
freed, as an argument to rtsp_free_xport_spec.
The rtsp_free_xport_spec function does not return a value.
For more information, type man 3 rtsp_free_xport_spec at the HP-UX
command prompt.
• rtsp_free_xport_spec_flds
You can use rtsp_free_xport_spec_flds to free the dynamically allocated
memory for the rtsp_xport_spec_t structure members.
The declaration of rtsp_free_xport_spec_flds is as follows:
#include <rtsp.h>
RTSP Library 59