1 #ifndef foostatcachehfoo
2 #define foostatcachehfoo
6 int stat_cache_get(const char *fn
, struct stat
*st
);
7 void stat_cache_set(const char *fn
, const struct stat
*st
);
8 void stat_cache_invalidate(const char*fn
);
10 void dir_cache_invalidate(const char*fn
);
11 void dir_cache_invalidate_parent(const char *fn
);
12 void dir_cache_begin(const char *fn
);
13 void dir_cache_finish(const char *fn
, int success
);
14 void dir_cache_add(const char *fn
, const char *subdir
, int is_dir
);
15 int dir_cache_enumerate(const char *fn
, void (*f
) (const char*fn
, const char *subdir
, int is_dir
, void *user
), void *user
);
17 void cache_free(void);
18 void cache_alloc(void);