diff options
Diffstat (limited to 'example/hello.c')
-rw-r--r-- | example/hello.c | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/example/hello.c b/example/hello.c index 6b461d0..7466b9f 100644 --- a/example/hello.c +++ b/example/hello.c @@ -68,26 +68,10 @@ static int hello_read(const char *path, char *buf, size_t size, off_t offset) } static struct fuse_operations hello_oper = { - getattr: hello_getattr, - readlink: NULL, - getdir: hello_getdir, - mknod: NULL, - mkdir: NULL, - symlink: NULL, - unlink: NULL, - rmdir: NULL, - rename: NULL, - link: NULL, - chmod: NULL, - chown: NULL, - truncate: NULL, - utime: NULL, - open: hello_open, - read: hello_read, - write: NULL, - statfs: NULL, - release: NULL, - fsync: NULL + .getattr = hello_getattr, + .getdir = hello_getdir, + .open = hello_open, + .read = hello_read, }; int main(int argc, char *argv[]) |