/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* bos72Q src/bos/usr/include/fnmatch.h 1.4.1.1                           */
/*                                                                        */
/* Licensed Materials - Property of IBM                                   */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 1991,2019              */
/* All Rights Reserved                                                    */
/*                                                                        */
/* US Government Users Restricted Rights - Use, duplication or            */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
/* @(#)96       1.4.1.1  src/bos/usr/include/fnmatch.h, libcpat, bos72Q, q2019_13A4 2/6/19 00:43:26 */

/*
 * COMPONENT_NAME: (LIBCPAT) Standard C Library Pattern Matching
 *
 * FUNCTIONS:
 *
 * ORIGINS: 27
 *
 * (C) COPYRIGHT International Business Machines Corp. 1991, 1992
 * All Rights Reserved
 * Licensed Materials - Property of IBM
 *
 * US Government Users Restricted Rights - Use, duplication or
 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 */

#ifndef _H_FNMATCH
#define _H_FNMATCH

#ifndef _H_STANDARDS
#include <standards.h>
#endif

/*
 * values for the fnmatch() flags variable
 */

#ifdef __cplusplus
extern "C" {
#endif

#ifdef _XOPEN_SOURCE

#define FNM_PATHNAME    1
#define FNM_PERIOD      2
#define FNM_NOESCAPE    8


/* Pattern Matching error codes */

#define	FNM_NOMATCH	1	/* pattern does not match string	*/
#define FNM_NOSYS	4	/* this function is not supported	*/

/* Pattern Matching function prototypes */

#ifdef _NO_PROTO
extern	int	fnmatch();
#else
extern	int	fnmatch(const char *, const char *, int);
#endif /* _NO_PROTO */

#endif /* _XOPEN_SOURCE */

#ifdef _ALL_SOURCE

#define FNM_QUOTE       4
#define FNM_ESLASH	2	/* * ? [] can't match /			*/
#define FNM_EPERIOD	3	/* * ? [] can't match .			*/

#endif /* _ALL_SOURCE */

#ifdef __cplusplus
}
#endif

#endif /* _H_FNMATCH */