From 0860da21d86f69ad8d59289d422451adfb1b3d05 Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 19 Aug 2013 00:06:37 +0000 Subject: Add base case support for ioctl, poll, write_buf, read_buf and flock --- libfusepp/fuseapp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libfusepp/fuseapp.h') diff --git a/libfusepp/fuseapp.h b/libfusepp/fuseapp.h index c823721..1c94f13 100644 --- a/libfusepp/fuseapp.h +++ b/libfusepp/fuseapp.h @@ -45,6 +45,11 @@ class FuseAppBase { virtual int lock(const char *, struct fuse_file_info *, int cmd, struct flock *); virtual int utimens(const char *, const struct timespec tv[2]); virtual int bmap(const char *, size_t blocksize, uint64_t *idx); + virtual int ioctl(const char *, int cmd, void *arg, struct fuse_file_info *, unsigned int flags, void * data); + virtual int poll(const char *, struct fuse_file_info *, struct fuse_pollhandle *, unsigned *); + virtual int write_buf (const char *, struct fuse_bufvec *buf, off_t off, struct fuse_file_info *); + virtual int read_buf (const char *, struct fuse_bufvec **bufp, size_t size, off_t off, struct fuse_file_info *); + virtual int flock (const char *, struct fuse_file_info *, int op); virtual int onError(const std::exception & err) throw(); static int run(int &, char ** &, FuseAppBase *); -- cgit v1.2.3