I'm writing a fuse filesystem.
How do I pass extra data to the functions in struct fuse_operations
?
In particular, how can I access the void *
, that I can set in fuse_main()
and similar, from functions in struct fuse_operations
?
I'm looking for a method other than global variables, as I am making my fuse operations testable.