1N/A
1N/A/* : : generated by proto : : */
1N/A/***********************************************************************
1N/A* *
1N/A* This software is part of the ast package *
1N/A* Copyright (c) 1985-2011 AT&T Intellectual Property *
1N/A* and is licensed under the *
1N/A* Common Public License, Version 1.0 *
1N/A* by AT&T Intellectual Property *
1N/A* *
1N/A* A copy of the License is available at *
1N/A* http://www.opensource.org/licenses/cpl1.0.txt *
1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
1N/A* *
1N/A* Information and Software Systems Research *
1N/A* AT&T Research *
1N/A* Florham Park NJ *
1N/A* *
1N/A* Glenn Fowler <gsf@research.att.com> *
1N/A* David Korn <dgk@research.att.com> *
1N/A* Phong Vo <kpv@research.att.com> *
1N/A* *
1N/A***********************************************************************/
1N/A
1N/A/*
1N/A * posix fnmatch interface definitions
1N/A */
1N/A
1N/A#ifndef _FNMATCH_H
1N/A#if !defined(__PROTO__)
1N/A#include <prototyped.h>
1N/A#endif
1N/A#if !defined(__LINKAGE__)
1N/A#define __LINKAGE__ /* 2004-08-11 transition */
1N/A#endif
1N/A
1N/A#define _FNMATCH_H
1N/A
1N/A#include <ast_common.h>
1N/A
1N/A/* fnmatch flags */
1N/A
1N/A#define FNM_NOESCAPE 0x0001 /* \ is literal */
1N/A#define FNM_PATHNAME 0x0002 /* explicit match for / */
1N/A#define FNM_PERIOD 0x0004 /* explicit match for leading . */
1N/A#define FNM_NOSYS 0x0010 /* not implemented */
1N/A
1N/A/* nonstandard fnmatch() flags */
1N/A
1N/A#define FNM_AUGMENTED 0x0008 /* enable ! & ( | ) */
1N/A#define FNM_ICASE 0x0020 /* ignore case in match */
1N/A#define FNM_LEADING_DIR 0x0040 /* match up to implicit / */
1N/A
1N/A#define FNM_CASEFOLD FNM_ICASE /* gnu/bsd compatibility */
1N/A#define FNM_IGNORECASE FNM_ICASE /* gnu/bsd compatibility */
1N/A#define FNM_FILE_NAME FNM_PATHNAME /* gnu compatibility */
1N/A
1N/A/* fnmatch error codes -- other non-zero values from <regex.h> */
1N/A
1N/A#define FNM_NOMATCH 1 /* == REG_NOMATCH */
1N/A
1N/A#if _BLD_ast && defined(__EXPORT__)
1N/A#undef __MANGLE__
1N/A#define __MANGLE__ __LINKAGE__ __EXPORT__
1N/A#endif
1N/A
1N/Aextern __MANGLE__ int fnmatch __PROTO__((const char*, const char*, int));
1N/A
1N/A#undef __MANGLE__
1N/A#define __MANGLE__ __LINKAGE__
1N/A
1N/A#endif