view osdep/glob.h @ 23573:21c28c2645fe

Revert r23530. r23530 breaks policy: notification was not sent to mailing list, agreements of other devs were not received. Code also should be reviewed/cleaned up/fixed.
author voroshil
date Thu, 21 Jun 2007 08:18:51 +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);