view osdep/glob.h @ 25615:ac6b4eb514cf

sync with r25158, patch by JRaSH
author kraymer
date Mon, 07 Jan 2008 17:23:13 +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 */