whoops - forgot to commit header files
[reactos.git] / posix / include / fnmatch.h
1 /*
2 * fnmatch.h
3 *
4 * filename-matching types. Based on the Single UNIX(r) Specification,
5 * Version 2
6 *
7 * This file is part of the ReactOS Operating System.
8 *
9 * Contributors:
10 * Created by KJK::Hyperion <noog@libero.it>
11 *
12 * THIS SOFTWARE IS NOT COPYRIGHTED
13 *
14 * This source code is offered for use in the public domain. You may
15 * use, modify or distribute it freely.
16 *
17 * This code is distributed in the hope that it will be useful but
18 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
19 * DISCLAMED. This includes but is not limited to warranties of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21 *
22 */
23 #ifndef __FNMATCH_H_INCLUDED__
24 #define __FNMATCH_H_INCLUDED__
25
26 /* INCLUDES */
27 #ifdef __PSXDLL__
28
29 /* headers for internal usage by psxdll.dll and ReactOS */
30
31 #else /* ! __PSXDLL__ */
32
33 /* standard POSIX headers */
34
35 #endif
36
37 /* OBJECTS */
38
39 /* TYPES */
40
41 /* CONSTANTS */
42 /* Flags */
43 #define FNM_PATHNAME (0x00000001) /* Slash in string only matches slash
44 in pattern. */
45 #define FNM_PERIOD (0x00000002) /* Leading period in string must be
46 exactly matched by period in
47 pattern. */
48 #define FNM_NOESCAPE (0x00000004) /* Disable backslash escaping. */
49
50 /* Return values */
51 #define FNM_NOMATCH (1) /* The string does not match the specified
52 pattern. */
53 #define FNM_NOSYS (2) /* The implementation does not support this
54 function. */
55
56 /* PROTOTYPES */
57 int fnmatch(const char *, const char *, int);
58
59 /* MACROS */
60
61 #endif /* __FNMATCH_H_INCLUDED__ */
62
63 /* EOF */
64