Navit SVN

/work/compile/navit/src/navit/support/wordexp/glob.h

00001 #ifndef _GLOB_H_
00002 #define _GLOB_H_
00003 
00004 #ifndef HAVE_GLOB
00005 
00006 typedef struct {
00007   size_t   gl_pathc;  /* count of file names */
00008   char   **gl_pathv;  /* list of file names */
00009   size_t   gl_offs;   /* slots to reserve in gl_pathv */
00010 } glob_t;
00011 
00012 int  glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);
00013 void globfree(glob_t *pglob);
00014 
00015 #define GLOB_NOSPACE 1
00016 
00017 #endif
00018 
00019 #endif /* _GLOB_H_ */