1/* 2 * Copyright 2020, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _FNMATCH_H 6#define _FNMATCH_H 7 8 9#define FNM_NOESCAPE 0x01 10#define FNM_PATHNAME 0x02 11#define FNM_PERIOD 0x04 12 13#define FNM_LEADING_DIR 0x08 14#define FNM_CASEFOLD 0x10 15#define FNM_IGNORECASE FNM_CASEFOLD 16#define FNM_FILE_NAME FNM_PATHNAME 17 18#define FNM_NOMATCH 1 19 20 21#ifdef __cplusplus 22extern "C" { 23#endif 24 25extern int fnmatch(const char *, const char *, int); 26 27#ifdef __cplusplus 28} 29#endif 30 31#endif /* _FNMATCH_H */ 32