1
1
mirror of https://github.com/qvacua/vimr.git synced 2025-01-07 14:39:55 +03:00
vimr/third-party/vimr-deps/include/scandir.h
2020-08-26 08:35:20 +02:00

21 lines
423 B
C

#ifndef SCANDIR_H
#define SCANDIR_H
#include "ignore.h"
typedef struct {
const ignores *ig;
const char *base_path;
size_t base_path_len;
const char *path_start;
} scandir_baton_t;
typedef int (*filter_fp)(const char *path, const struct dirent *, void *);
int ag_scandir(const char *dirname,
struct dirent ***namelist,
filter_fp filter,
void *baton);
#endif