Recreate the navit git/gerrit project that vanished
[profile/ivi/navit.git] / navit / support / wordexp / glob.h
1 #ifndef _GLOB_H_
2 #define _GLOB_H_
3
4 #ifndef HAVE_GLOB
5
6 typedef struct {
7   size_t   gl_pathc;  /* count of file names */
8   char   **gl_pathv;  /* list of file names */
9   size_t   gl_offs;   /* slots to reserve in gl_pathv */
10 } glob_t;
11
12 int  glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);
13 void globfree(glob_t *pglob);
14
15 #define GLOB_NOSPACE 1
16
17 #endif
18
19 #endif /* _GLOB_H_ */