VLC 4.0.0-dev
Loading...
Searching...
No Matches
sdp.c File Reference

Real-Time Protocol (RTP) demux module for VLC media player. More...

Include dependency graph for sdp.c:

Data Structures

struct  vlc_sdp_input
 

Functions

static bool istokenchar (unsigned char c)
 
static size_t vlc_sdp_token_length (const char *str)
 
static bool vlc_sdp_is_token (const char *str)
 
static void vlc_sdp_conn_free (struct vlc_sdp_conn **conn)
 
static struct vlc_sdp_connvlc_sdp_conn_parse (const char *str, size_t len)
 
static struct vlc_sdp_attrvlc_sdp_attr_parse (const char *str, size_t len)
 
static void vlc_sdp_attr_free (struct vlc_sdp_attr **attr)
 
static void vlc_sdp_media_free (struct vlc_sdp_media **media)
 
static struct vlc_sdp_mediavlc_sdp_media_parse (struct vlc_sdp *sdp, const char *str, size_t len)
 
static int vlc_sdp_getline (struct vlc_sdp_input *restrict in, const char **restrict pp, size_t *restrict lenp)
 
const struct vlc_sdp_attrvlc_sdp_attr_first_by_name (struct vlc_sdp_attr *const *ap, const char *name)
 
void vlc_sdp_free (struct vlc_sdp *sdp)
 Destroys a parsed SDP session descriptor.
 
struct vlc_sdpvlc_sdp_parse (const char *str, size_t length)
 Parses an SDP session descriptor.
 

Detailed Description

Real-Time Protocol (RTP) demux module for VLC media player.

Function Documentation

◆ istokenchar()

static bool istokenchar ( unsigned char  c)
static

Referenced by vlc_sdp_token_length().

◆ vlc_sdp_attr_free()

static void vlc_sdp_attr_free ( struct vlc_sdp_attr **  attr)
static

References vlc_sdp_attr::next.

Referenced by vlc_sdp_free(), and vlc_sdp_media_free().

◆ vlc_sdp_attr_parse()

static struct vlc_sdp_attr * vlc_sdp_attr_parse ( const char *  str,
size_t  len 
)
static

◆ vlc_sdp_conn_free()

static void vlc_sdp_conn_free ( struct vlc_sdp_conn **  conn)
static

References vlc_sdp_conn::next.

Referenced by vlc_sdp_free(), and vlc_sdp_media_free().

◆ vlc_sdp_conn_parse()

static struct vlc_sdp_conn * vlc_sdp_conn_parse ( const char *  str,
size_t  len 
)
static

◆ vlc_sdp_getline()

static int vlc_sdp_getline ( struct vlc_sdp_input *restrict  in,
const char **restrict  pp,
size_t *restrict  lenp 
)
static

Referenced by vlc_sdp_parse().

◆ vlc_sdp_is_token()

static bool vlc_sdp_is_token ( const char *  str)
static

References vlc_sdp_token_length().

Referenced by vlc_sdp_media_parse().

◆ vlc_sdp_media_free()

◆ vlc_sdp_media_parse()

◆ vlc_sdp_token_length()

static size_t vlc_sdp_token_length ( const char *  str)
static

References istokenchar(), and p.

Referenced by vlc_sdp_attr_parse(), and vlc_sdp_is_token().