fnmatch.hin revision 72445
172445Sassar/* $NetBSD: fnmatch.h,v 1.5 1994/10/26 00:55:53 cgd Exp $ */ 272445Sassar 372445Sassar/*- 472445Sassar * Copyright (c) 1992, 1993 572445Sassar * The Regents of the University of California. All rights reserved. 672445Sassar * 772445Sassar * Redistribution and use in source and binary forms, with or without 872445Sassar * modification, are permitted provided that the following conditions 972445Sassar * are met: 1072445Sassar * 1. Redistributions of source code must retain the above copyright 1172445Sassar * notice, this list of conditions and the following disclaimer. 1272445Sassar * 2. Redistributions in binary form must reproduce the above copyright 1372445Sassar * notice, this list of conditions and the following disclaimer in the 1472445Sassar * documentation and/or other materials provided with the distribution. 1572445Sassar * 3. All advertising materials mentioning features or use of this software 1672445Sassar * must display the following acknowledgement: 1772445Sassar * This product includes software developed by the University of 1872445Sassar * California, Berkeley and its contributors. 1972445Sassar * 4. Neither the name of the University nor the names of its contributors 2072445Sassar * may be used to endorse or promote products derived from this software 2172445Sassar * without specific prior written permission. 2272445Sassar * 2372445Sassar * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2472445Sassar * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2572445Sassar * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2672445Sassar * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2772445Sassar * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2872445Sassar * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2972445Sassar * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3072445Sassar * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3172445Sassar * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3272445Sassar * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3372445Sassar * SUCH DAMAGE. 3472445Sassar * 3572445Sassar * @(#)fnmatch.h 8.1 (Berkeley) 6/2/93 3672445Sassar */ 3772445Sassar 3872445Sassar#ifndef _FNMATCH_H_ 3972445Sassar#define _FNMATCH_H_ 4072445Sassar 4172445Sassar#define FNM_NOMATCH 1 /* Match failed. */ 4272445Sassar 4372445Sassar#define FNM_NOESCAPE 0x01 /* Disable backslash escaping. */ 4472445Sassar#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */ 4572445Sassar#define FNM_PERIOD 0x04 /* Period must be matched by period. */ 4672445Sassar 4772445Sassarint fnmatch (const char *, const char *, int); 4872445Sassar 4972445Sassar#endif /* !_FNMATCH_H_ */ 50