Apache HTTPD
Classes | Macros | Typedefs | Functions | Variables
String matching routines

Classes

struct  apr_strmatch_pattern
 

Macros

#define apr_strmatch(pattern, s, slen)   (*((pattern)->compare))((pattern), (s), (slen))
 

Typedefs

typedef struct apr_strmatch_pattern apr_strmatch_pattern
 

Functions

 APU_DECLARE (const apr_strmatch_pattern *) apr_strmatch_precompile(apr_pool_t *p
 

Variables

const chars
 
const char int case_sensitive
 

Detailed Description

Macro Definition Documentation

◆ apr_strmatch

#define apr_strmatch (   pattern,
  s,
  slen 
)    (*((pattern)->compare))((pattern), (s), (slen))

Definition at line 64 of file apr_strmatch.h.

Typedef Documentation

◆ apr_strmatch_pattern

See also
apr_strmatch_pattern

Definition at line 38 of file apr_strmatch.h.

Function Documentation

◆ APU_DECLARE()

APU_DECLARE ( const apr_strmatch_pattern )

Precompile a pattern for matching using the Boyer-Moore-Horspool algorithm

Parameters
pThe pool from which to allocate the pattern
sThe pattern string
case_sensitiveWhether the matching should be case-sensitive
Returns
a pointer to the compiled pattern, or NULL if compilation fails

Variable Documentation

◆ case_sensitive

const char int case_sensitive

Definition at line 74 of file apr_strmatch.h.

◆ s

const char* s

Definition at line 74 of file apr_strmatch.h.