LMMS
Loading...
Searching...
No Matches
match.c File Reference
#include "unzip.h"

Macros

#define __MATCH_C   /* identifies this source module */
#define UNZIP_INTERNAL
#define Case(x)
#define WILDCHAR   '?'
#define BEG_RANGE   '['
#define END_RANGE   ']'

Functions

static int recmatch OF ((ZCONST uch *pattern, ZCONST uch *string, int ignore_case __WDLPRO))
static char *isshexp OF ((ZCONST char *p))
static int namecmp OF ((ZCONST char *s1, ZCONST char *s2))
int match (string, pattern, ignore_case __WDL) ZCONST char *string
static int recmatch (p, s, ic __WDL) ZCONST uch *p
 INCSTR (p)
 if (c==0)
static int namecmp (ZCONST char *s1, ZCONST char *s2)
int iswild (ZCONST char *p)

Variables

intpattern
int ignore_case
 __WDLDEF
ZCONST uchs
int ic
 c = *p

Macro Definition Documentation

◆ __MATCH_C

#define __MATCH_C   /* identifies this source module */

◆ BEG_RANGE

#define BEG_RANGE   '['

◆ Case

#define Case ( x)
Value:
(ic? ToLower(x) : (x))
unsigned x[BMAX+1]
Definition inflate.c:1586
int ic
Definition match.c:170
#define ToLower
Definition unzpriv.h:2678

◆ END_RANGE

#define END_RANGE   ']'

◆ UNZIP_INTERNAL

#define UNZIP_INTERNAL

◆ WILDCHAR

#define WILDCHAR   '?'

Function Documentation

◆ if()

if ( c = = 0)

◆ INCSTR()

INCSTR ( p )

◆ iswild()

int iswild ( ZCONST char * p)

◆ match()

int match ( string ,
pattern ,
ignore_case __WDL )

◆ namecmp()

int namecmp ( ZCONST char * s1,
ZCONST char * s2 )
static

◆ OF() [1/3]

char *isshexp OF ( (ZCONST char *p) )
static

◆ OF() [2/3]

int namecmp OF ( (ZCONST char *s1, ZCONST char *s2) )
static

◆ OF() [3/3]

◆ recmatch()

int recmatch ( p ,
s ,
ic __WDL )
static

Variable Documentation

◆ __WDLDEF

__WDLDEF

◆ c

c = *p

◆ ic

int ic

◆ ignore_case

int ignore_case

◆ pattern

int * pattern

◆ s

ZCONST uch* s