1 |
#ifndef _GLOB_H_
|
2 |
#define _GLOB_H_
|
3 |
|
4 |
#ifndef HAVE_GLOB
|
5 |
#if defined __MINGW32__ || defined _MSC_VER
|
6 |
|
7 |
typedef struct {
|
8 |
size_t gl_pathc; /* count of file names */
|
9 |
char **gl_pathv; /* list of file names */
|
10 |
size_t gl_offs; /* slots to reserve in gl_pathv */
|
11 |
} glob_t;
|
12 |
|
13 |
int glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);
|
14 |
void globfree(glob_t *pglob);
|
15 |
|
16 |
#endif /* defined __MINGW32__ || defined _MSC_VER */
|
17 |
#endif
|
18 |
|
19 |
#endif /* _GLOB_H_ */
|