#define _FILE_OFFSET_BITS 64 #define FUSE_USE_VERSION 29 #include #include #include #include #include #include #include #define MNT_PATH "/tmp/foo" extern int spray1_pipes[2]; extern const char *spray1_path, *spray2_path; int fuse_read(const char *path, char *buf, size_t size, off_t offset, struct fuse_file_info *fi); int fuse_getattr(const char *path, struct stat *stbuf); int fuse_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi);