1 /*
2  * Copyright (C) the libgit2 contributors. All rights reserved.
3  *
4  * This file is part of libgit2, distributed under the GNU GPL v2 with
5  * a Linking Exception. For full terms see the included COPYING file.
6  */
7 
8 #ifndef INCLUDE_wildmatch_h__
9 #define INCLUDE_wildmatch_h__
10 
11 #include "common.h"
12 
13 #define WM_CASEFOLD 1
14 #define WM_PATHNAME 2
15 
16 #define WM_NOMATCH 1
17 #define WM_MATCH 0
18 #define WM_ABORT_ALL -1
19 #define WM_ABORT_TO_STARSTAR -2
20 
21 int wildmatch(const char *pattern, const char *text, unsigned int flags);
22 
23 #endif
24