"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "gtkfind-1.1/glob.h" of archive gtkfind-1.1.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 /* glob.h */
2 /* header file for filename globbing functions */
3
4 /*
5 gtkfind - a graphical "find" program
6 Copyright (C) 1999 Matthew Grossman <mattg@oz.net>
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
22 */
23
24 #ifndef GLOB_H
25 #define GLOB_H
26
27 #include<string.h>
28 #include<stdio.h>
29 #include<stdlib.h>
30
31 #include<sys/types.h>
32
33 #include"config.h"
34
35 #ifdef HAVE_ALLOCA_H
36 #include<alloca.h>
37 #endif /* HAVE_ALLOCA_H */
38
39 char *match_squares(char *pattern, char *string);
40
41 int glob(char *pattern, char *string, char **registers, int c_reg);
42 char **glob_string(char *pattern, char *string, int copy_stringp);
43 char **allocate_glob_registers();
44 void free_glob_registers(char **registers);
45
46 char *copy_string(char *start, char *end);
47
48 #endif /* !GLOB_H */