1996-12-23 17:02:34 +00:00
|
|
|
/* File-name wildcard pattern matching for GNU.
|
|
|
|
|
Copyright (C) 1985, 1988, 1989 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published by
|
2000-03-17 21:46:59 +00:00
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
1996-12-23 17:02:34 +00:00
|
|
|
any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program; if not, write to the Free Software
|
2000-03-17 21:46:59 +00:00
|
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
|
1996-12-23 17:02:34 +00:00
|
|
|
|
|
|
|
|
#ifndef _GLOB_H_
|
|
|
|
|
#define _GLOB_H_
|
|
|
|
|
|
|
|
|
|
#include "stdc.h"
|
|
|
|
|
|
2002-07-17 14:10:11 +00:00
|
|
|
#define GX_MARKDIRS 0x01 /* mark directory names with trailing `/' */
|
|
|
|
|
#define GX_NOCASE 0x02 /* ignore case */
|
|
|
|
|
#define GX_MATCHDOT 0x04 /* match `.' literally */
|
|
|
|
|
|
2001-11-13 17:56:06 +00:00
|
|
|
extern int glob_pattern_p __P((const char *));
|
2002-07-17 14:10:11 +00:00
|
|
|
extern char **glob_vector __P((char *, char *, int));
|
|
|
|
|
extern char **glob_filename __P((char *, int));
|
1996-12-23 17:02:34 +00:00
|
|
|
|
|
|
|
|
extern char *glob_error_return;
|
|
|
|
|
extern int noglob_dot_filenames;
|
1998-04-17 19:52:44 +00:00
|
|
|
extern int glob_ignore_case;
|
1996-12-23 17:02:34 +00:00
|
|
|
|
|
|
|
|
#endif /* _GLOB_H_ */
|