/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 1985-2011 AT&T Intellectual Property *4* and is licensed under the *5* Eclipse Public License, Version 1.0 *6* by AT&T Intellectual Property *7* *8* A copy of the License is available at *9* http://www.eclipse.org/org/documents/epl-v10.html *10* (with md5 checksum b35adb5213ca9657e911e9befb180842) *11* *12* Information and Software Systems Research *13* AT&T Research *14* Florham Park NJ *15* *16* Glenn Fowler <[email protected]> *17* David Korn <[email protected]> *18* Phong Vo <[email protected]> *19* *20***********************************************************************/21#pragma prototyped22/*23* posix fnmatch interface definitions24*/2526#ifndef _FNMATCH_H27#define _FNMATCH_H2829#include <ast_common.h>3031/* fnmatch flags */3233#define FNM_NOESCAPE 0x0001 /* \ is literal */34#define FNM_PATHNAME 0x0002 /* explicit match for / */35#define FNM_PERIOD 0x0004 /* explicit match for leading . */36#define FNM_NOSYS 0x0010 /* not implemented */3738/* nonstandard fnmatch() flags */3940#define FNM_AUGMENTED 0x0008 /* enable ! & ( | ) */41#define FNM_ICASE 0x0020 /* ignore case in match */42#define FNM_LEADING_DIR 0x0040 /* match up to implicit / */4344#define FNM_CASEFOLD FNM_ICASE /* gnu/bsd compatibility */45#define FNM_IGNORECASE FNM_ICASE /* gnu/bsd compatibility */46#define FNM_FILE_NAME FNM_PATHNAME /* gnu compatibility */4748/* fnmatch error codes -- other non-zero values from <regex.h> */4950#define FNM_NOMATCH 1 /* == REG_NOMATCH */5152#if _BLD_ast && defined(__EXPORT__)53#define extern __EXPORT__54#endif5556extern int fnmatch(const char*, const char*, int);5758#undef extern5960#endif616263