view osdep/glob.h @ 25787:143989c7a3bf

Avoid some pointer conversion warnings (the code is messy but not wrong)
author reimar
date Sun, 20 Jan 2008 09:50:50 +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 */