From 386a7f67abe051067887a9d84443eccf353dbb2c Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 7 Feb 2005 16:12:46 +0000 Subject: cleanup --- cache.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 cache.h (limited to 'cache.h') diff --git a/cache.h b/cache.h new file mode 100644 index 0000000..1466a1b --- /dev/null +++ b/cache.h @@ -0,0 +1,21 @@ +/* + Caching file system proxy + Copyright (C) 2004 Miklos Szeredi + + This program can be distributed under the terms of the GNU GPL. + See the file COPYING. +*/ + +#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); -- cgit v1.2.3