view osdep/glob.h @ 25847:fe50eaad932d

Use the standard "static inline" instead of some broken ifdef mess
author reimar
date Sun, 27 Jan 2008 11:25:45 +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 */