From c711bf738f7e78ecb05acc6097088ea07646d3c0 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Wed, 21 Jun 2017 10:59:13 -0700 Subject: Re-enabled cache support. --- cache.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'cache.h') diff --git a/cache.h b/cache.h index 2da984d..7aef742 100644 --- a/cache.h +++ b/cache.h @@ -9,16 +9,7 @@ #include #include -typedef struct fuse_cache_dirhandle *fuse_cache_dirh_t; -typedef int (*fuse_cache_dirfil_t) (fuse_cache_dirh_t h, const char *name, - const struct stat *stbuf); - -struct fuse_cache_operations { - struct fuse_operations oper; - int (*cache_getdir) (const char *, fuse_cache_dirh_t, fuse_cache_dirfil_t); -}; - -struct fuse_operations *cache_init(struct fuse_cache_operations *oper); +struct fuse_operations *cache_init(struct fuse_operations *oper); int cache_parse_options(struct fuse_args *args); void cache_add_attr(const char *path, const struct stat *stbuf, uint64_t wrctr); void cache_invalidate(const char *path); -- cgit v1.2.3