VLC 4.0.0-dev
Loading...
Searching...
No Matches
mrl_helpers.h File Reference
Include dependency graph for mrl_helpers.h:

Go to the source code of this file.

Data Structures

struct  mrl_info
 

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 char * mrl_EscapeFragmentIdentifier (char const *payload)
 Escape a fragment identifier for use within an MRL.
 
static char * mrl_AppendAnchorFragment (const char *anchor, char const *payload)
 
static void mrl_info_Clean (struct mrl_info *mrli)
 
static void mrl_info_Init (struct mrl_info *mrli)
 
static int mrl_FragmentSplit (struct mrl_info *mrli, char const *payload)
 Split an MRL-fragment into identifiers.
 

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 "-" "." "_" "~"