repo.or.cz
/
git
/
mjg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
parse-options: fix clang opterror() -Wunused-value warning
[git/mjg.git]
/
wildmatch.h
blob
4090c8f4bb0587d36ec01069f1e8d832ea46d7d6
1
#ifndef WILDMATCH_H
2
#define WILDMATCH_H
3
4
#define WM_CASEFOLD 1
5
#define WM_PATHNAME 2
6
7
#define WM_ABORT_MALFORMED 2
8
#define WM_NOMATCH 1
9
#define WM_MATCH 0
10
#define WM_ABORT_ALL -1
11
#define WM_ABORT_TO_STARSTAR -2
12
13
struct
wildopts
;
14
15
int
wildmatch
(
const char
*
pattern
,
const char
*
text
,
16
unsigned int
flags
,
17
struct
wildopts
*
wo
);
18
#endif