view osdep/glob.h @ 24079:f40ff9321699

Fix a bug in stream_read_qword_le due to sign extension from int to uint64_t. Patch by Sean Veers [cf3cf3 gmail com]
author reimar
date Sun, 19 Aug 2007 08:50:58 +0000
parents a42f91a779b8
children 6ac1ece1f9fe
line wrap: on
line source

#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);