view osdep/glob.h @ 12753:0ea1d052b10b

fix crash when no audio-out is available (e.g. mplayer -ao bad test.avi).
author reimar
date Fri, 02 Jul 2004 22:20:10 +0000
parents 14c92818ab75
children 08cac43f1e38
line wrap: on
line source

#include "../config.h"

#ifndef HAVE_GLOB
#ifdef __MINGW32__
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
#endif