Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
match.inl File Reference
This graph shows which files directly or indirectly include this file:

Functions

static int match_compare (const void *p1, const void *p2, void *user)
 
static void match_context_push (const char *str, size_t len, struct mg_match_context *mcx)
 
static void match_context_reset (struct mg_match_context *mcx)
 
static ptrdiff_t match_prefix (const char *pattern, size_t pattern_len, const char *str)
 
static ptrdiff_t match_prefix_strlen (const char *pattern, const char *str)
 
static ptrdiff_t mg_match (const char *pat, const char *str, struct mg_match_context *mcx)
 
static ptrdiff_t mg_match_alternatives (const char *pat, size_t pat_len, const char *str, struct mg_match_context *mcx)
 
static ptrdiff_t mg_match_impl (const char *pat, size_t pat_len, const char *str, struct mg_match_context *mcx)
 

Function Documentation

◆ match_compare()

static int match_compare ( const void * p1,
const void * p2,
void * user )
static

Definition at line 170 of file match.inl.

◆ match_context_push()

static void match_context_push ( const char * str,
size_t len,
struct mg_match_context * mcx )
static

Definition at line 18 of file match.inl.

◆ match_context_reset()

static void match_context_reset ( struct mg_match_context * mcx)
static

Definition at line 9 of file match.inl.

◆ match_prefix()

static ptrdiff_t match_prefix ( const char * pattern,
size_t pattern_len,
const char * str )
static

Definition at line 244 of file match.inl.

◆ match_prefix_strlen()

static ptrdiff_t match_prefix_strlen ( const char * pattern,
const char * str )
static

Definition at line 254 of file match.inl.

◆ mg_match()

static ptrdiff_t mg_match ( const char * pat,
const char * str,
struct mg_match_context * mcx )
static

Definition at line 194 of file match.inl.

◆ mg_match_alternatives()

static ptrdiff_t mg_match_alternatives ( const char * pat,
size_t pat_len,
const char * str,
struct mg_match_context * mcx )
static

Definition at line 131 of file match.inl.

◆ mg_match_impl()

static ptrdiff_t mg_match_impl ( const char * pat,
size_t pat_len,
const char * str,
struct mg_match_context * mcx )
static

Definition at line 29 of file match.inl.