/* dlfcn.h Copyright 1998, 1999, 2000, 2001 Red Hat, Inc. This file is part of Cygwin. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ #ifndef _FNMATCH_H_ #define _FNMATCH_H_ #include #define FNM_NOMATCH 1 /* The string does not match the specified pattern. */ #define FNM_PATHNAME 2 /* Slash in string only matches slash in pattern. */ #define FNM_PERIOD 4 /* Leading period in string must be exactly matched by period in pattern. */ #define FNM_NOESCAPE 8 /* Disable backslash escaping. */ #define FNM_NOSYS 16 /* The implementation does not support this function. */ /* For folk who don't read POSIX manuals */ #if !defined (_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 2 || defined (_GNU_SOURCE) #define FNM_FILE_NAME FNM_PATHNAME #define FNM_LEADING_DIR 32 /* Ignore `/...' after a match. */ #endif __BEGIN_DECLS #undef DLLEXPORT #ifdef __INSIDE_CYGWIN__ # define DLLEXPORT #else # define DLLEXPORT __declspec(dllimport) #endif int DLLEXPORT fnmatch(const char *, const char *, int); #undef DLLEXPORT __END_DECLS #endif /* _FNMATCH_H_ */