1 #pragma ident "%Z%%M% %I% %E% SMI" 2 3 /**************************************************************************** 4 Copyright (c) 1999,2000 WU-FTPD Development Group. 5 All rights reserved. 6 7 Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994 8 The Regents of the University of California. 9 Portions Copyright (c) 1993, 1994 Washington University in Saint Louis. 10 Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc. 11 Portions Copyright (c) 1989 Massachusetts Institute of Technology. 12 Portions Copyright (c) 1998 Sendmail, Inc. 13 Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman. 14 Portions Copyright (c) 1997 by Stan Barber. 15 Portions Copyright (c) 1997 by Kent Landfield. 16 Portions Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997 17 Free Software Foundation, Inc. 18 19 Use and distribution of this software and its source code are governed 20 by the terms and conditions of the WU-FTPD Software License ("LICENSE"). 21 22 If you did not receive a copy of the license, it may be obtained online 23 at http://www.wu-ftpd.org/license.html. 24 25 $Id: wu_fnmatch.h,v 1.5 2000/07/01 18:17:39 wuftpd Exp $ 26 27 ****************************************************************************/ 28 #ifndef __WU_FNMATCH_H 29 #define __WU_FNMATCH_H 1 30 31 extern int wu_fnmatch(const char *pattern, const char *string, int flags); 32 #define FNM_NOMATCH 1 33 #define FNM_PATHNAME 0x01 34 #define FNM_NOESCAPE 0x02 35 #define FNM_PERIOD 0x04 36 #define FNM_LEADING_DIR 0x08 37 #define FNM_CASEFOLD 0x10 38 39 #endif