view osdep/glob.h @ 25899:9d4121fa508a

Split osd related stuff from mp_core.h into new header file mp_osd.h.
author ulion
date Wed, 30 Jan 2008 07:21:05 +0000
parents 6ac1ece1f9fe
children 4129c8cfa742
line wrap: on
line source

#ifndef GLOB_H
#define GLOB_H

#include "config.h"

typedef struct {
  size_t gl_pathc;
  char **gl_pathv;
  size_t gl_offs;
} glob_t;

void globfree(glob_t *pglob);

int  glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);

#endif /* GLOB_H */