GME  13
Classes | Defines | Typedefs | Functions | Variables
String matching routines
APR Utility Functions
Collaboration diagram for String matching routines:

Classes

struct  apr_strmatch_pattern

Defines

#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 char * s
const char int case_sensitive

Define Documentation

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

Definition at line 64 of file apr_strmatch.h.


Typedef Documentation

See also:
apr_strmatch_pattern

Definition at line 38 of file apr_strmatch.h.


Function Documentation

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

const char int case_sensitive

Definition at line 74 of file apr_strmatch.h.

const char* s

Definition at line 74 of file apr_strmatch.h.