Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
match.inl File Reference

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()

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

Definition at line 170 of file match.inl.

◆ match_context_push()

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()

void match_context_reset ( struct mg_match_context * mcx)
static

Definition at line 9 of file match.inl.

◆ match_prefix()

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()

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

Definition at line 254 of file match.inl.

◆ mg_match()

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()

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()

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.