summaryrefslogtreecommitdiff
path: root/src/node.c
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2013-03-22 17:55:16 +0100
committerPino Toscano <toscano.pino@tiscali.it>2013-03-22 17:55:16 +0100
commit6ff1c4ce7e024833263a2cddba424bf5cb48ed42 (patch)
tree16c27a02f610c418acb6f9e144b4e5f2f6edb6ce /src/node.c
parentb1f475196174db8bc750b545f23449dd5859d965 (diff)
Create and use a fuse struct
Introduce a fuse struct and use it to hold a copy of the fuse_operation and their version, and the private data returned by init. * src/fuse_i.h (struct fuse): New. (fuse_ops25): Remove. (libfuse_fuse): New. (FUSE_OP_HAVE, FUSE_OP_CALL): Use libfuse_fuse. (fsys_privdata): Remove. * src/main.c (fuse_ops25): Remove. (libfuse_fuse): New. (fsys_privdata): Remove. (fuse_new): Create and fill a fuse struct. (fuse_loop): Reject null F instead of anything but FUSE_MAGIC. Set LIBFUSE_FUSE as F. (fuse_loop_mt_proc): Likewise. (fuse_demuxer): Use libfuse_fuse. (fuse_process_cmd): Reject null F instead of anything but FUSE_MAGIC. * src/netfs.c (refresh_context_struct): Use libfuse_fuse.
Diffstat (limited to 'src/node.c')
0 files changed, 0 insertions, 0 deletions