95108a44dc20c50fa055e4f12989865740c1f83f
[platform/upstream/bash.git] / lib / glob / glob.h
1 /* File-name wildcard pattern matching for GNU.
2    Copyright (C) 1985, 1988, 1989 Free Software Foundation, Inc.
3
4    This program is free software; you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation; either version 2, or (at your option)
7    any later version.
8
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with this program; if not, write to the Free Software
16    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.  */
17
18 #ifndef _GLOB_H_
19 #define _GLOB_H_
20
21 #include "stdc.h"
22
23 #define GX_MARKDIRS     0x01    /* mark directory names with trailing `/' */
24 #define GX_NOCASE       0x02    /* ignore case */
25 #define GX_MATCHDOT     0x04    /* match `.' literally */
26
27 extern int glob_pattern_p __P((const char *));
28 extern char **glob_vector __P((char *, char *, int));
29 extern char **glob_filename __P((char *, int));
30
31 extern char *glob_error_return;
32 extern int noglob_dot_filenames;
33 extern int glob_ignore_case;
34
35 #endif /* _GLOB_H_ */