view osdep/glob.h @ 15574:0feaed9986d3

This currently sends control characters to the terminal instead of meaningful names. Since some names are longer than 4 characters, I propose the following approach. Patch by + a ! guru #at# sympatico ! ca +
author rtognimp
date Thu, 26 May 2005 21:57:24 +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