Merge svn changes up to r28162
[mplayer.git] / osdep / glob.h
blob64d618d0dd68e7b536e245d9500d048f5ae67531
1 #ifndef MPLAYER_GLOB_H
2 #define MPLAYER_GLOB_H
4 #include <sys/types.h>
5 #include "config.h"
7 typedef struct {
8 size_t gl_pathc;
9 char **gl_pathv;
10 size_t gl_offs;
11 } glob_t;
13 void globfree(glob_t *pglob);
15 int glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);
17 #endif /* MPLAYER_GLOB_H */