mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-19 03:31:32 +03:00
21 lines
423 B
C
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
|