Go to the source code of this file.
Defines |
#define | CURLFNM_ALNUM (CURLFNM_CHARSET_LEN + 1) |
#define | CURLFNM_ALPHA (CURLFNM_CHARSET_LEN + 4) |
#define | CURLFNM_BLANK (CURLFNM_CHARSET_LEN + 6) |
#define | CURLFNM_CHARSET_LEN (sizeof(char) * 256) |
#define | CURLFNM_CHSET_SIZE (CURLFNM_CHARSET_LEN + 15) |
#define | CURLFNM_DIGIT (CURLFNM_CHARSET_LEN + 2) |
#define | CURLFNM_GRAPH (CURLFNM_CHARSET_LEN + 8) |
#define | CURLFNM_LOWER (CURLFNM_CHARSET_LEN + 7) |
#define | CURLFNM_NEGATE CURLFNM_CHARSET_LEN |
#define | CURLFNM_PRINT (CURLFNM_CHARSET_LEN + 5) |
#define | CURLFNM_SPACE (CURLFNM_CHARSET_LEN + 9) |
#define | CURLFNM_UPPER (CURLFNM_CHARSET_LEN + 10) |
#define | CURLFNM_XDIGIT (CURLFNM_CHARSET_LEN + 3) |
#define | KEYLEN 10 |
#define | SETCHARSET_FAIL 0 |
#define | SETCHARSET_OK 1 |
Enumerations |
enum | loop_state { CURLFNM_LOOP_DEFAULT = 0,
CURLFNM_LOOP_BACKSLASH
} |
enum | parsekey_state { CURLFNM_PKW_INIT = 0,
CURLFNM_PKW_DDOT
} |
enum | setcharset_state {
CURLFNM_SCHS_DEFAULT = 0,
CURLFNM_SCHS_MAYRANGE,
CURLFNM_SCHS_MAYRANGE2,
CURLFNM_SCHS_RIGHTBR,
CURLFNM_SCHS_RIGHTBRLEFTBR
} |
Functions |
int | Curl_fnmatch (void *ptr, const char *pattern, const char *string) |
static int | loop (const unsigned char *pattern, const unsigned char *string) |
static int | parsekeyword (unsigned char **pattern, unsigned char *charset) |
static int | setcharset (unsigned char **p, unsigned char *charset) |
Define Documentation
Enumeration Type Documentation
- Enumerator:
CURLFNM_LOOP_DEFAULT |
|
CURLFNM_LOOP_BACKSLASH |
|
Definition at line 49 of file curl_fnmatch.c.
- Enumerator:
CURLFNM_PKW_INIT |
|
CURLFNM_PKW_DDOT |
|
Definition at line 62 of file curl_fnmatch.c.
- Enumerator:
CURLFNM_SCHS_DEFAULT |
|
CURLFNM_SCHS_MAYRANGE |
|
CURLFNM_SCHS_MAYRANGE2 |
|
CURLFNM_SCHS_RIGHTBR |
|
CURLFNM_SCHS_RIGHTBRLEFTBR |
|
Definition at line 54 of file curl_fnmatch.c.
Function Documentation
int Curl_fnmatch |
( |
void * |
ptr, |
|
|
const char * |
pattern, |
|
|
const char * |
string |
|
) |
| |
static int loop |
( |
const unsigned char * |
pattern, |
|
|
const unsigned char * |
string |
|
) |
| [static] |
static int parsekeyword |
( |
unsigned char ** |
pattern, |
|
|
unsigned char * |
charset |
|
) |
| [static] |
static int setcharset |
( |
unsigned char ** |
p, |
|
|
unsigned char * |
charset |
|
) |
| [static] |