VLC 4.0.0-dev
mrl_helpers.h File Reference
Include dependency graph for mrl_helpers.h:

Go to the source code of this file.

Macros

#define RFC3986_SUBDELIMS
 
#define RFC3986_ALPHA
 
#define RFC3986_DIGIT   "0123456789"
 
#define RFC3986_UNRESERVED   RFC3986_ALPHA RFC3986_DIGIT "-" "." "_" "~"
 
#define RFC3986_PCHAR   RFC3986_UNRESERVED RFC3986_SUBDELIMS ":" "@"
 
#define RFC3986_FRAGMENT   RFC3986_PCHAR "/" "?"
 

Functions

static int mrl_EscapeFragmentIdentifier (char **out, char const *payload)
 Escape a fragment identifier for use within an MRL. More...
 
static int mrl_FragmentSplit (vlc_array_t *out_items, char const **out_extra, char const *payload)
 Split an MRL-fragment into identifiers. More...
 

Macro Definition Documentation

◆ RFC3986_ALPHA

#define RFC3986_ALPHA
Value:
"abcdefghijklmnopqrstuvwxyz" \
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"

◆ RFC3986_DIGIT

#define RFC3986_DIGIT   "0123456789"

◆ RFC3986_FRAGMENT

#define RFC3986_FRAGMENT   RFC3986_PCHAR "/" "?"

◆ RFC3986_PCHAR

#define RFC3986_PCHAR   RFC3986_UNRESERVED RFC3986_SUBDELIMS ":" "@"

◆ RFC3986_SUBDELIMS

#define RFC3986_SUBDELIMS
Value:
"!" "$" "&" "'" "(" ")" \
"*" "+" "," ";" "="

◆ RFC3986_UNRESERVED

#define RFC3986_UNRESERVED   RFC3986_ALPHA RFC3986_DIGIT "-" "." "_" "~"