public interface LibFuse
| Modifier and Type | Method and Description |
|---|---|
long |
fuse_buf_copy(FuseBufvec dstv,
FuseBufvec srcv,
int flags) |
long |
fuse_buf_size(FuseBufvec bufv) |
void |
fuse_exit(jnr.ffi.Pointer fuse)
Flag session as terminated
This function will cause any running event loops to exit on
the next opportunity.
|
FuseContext |
fuse_get_context() |
int |
fuse_main_real(int argc,
java.lang.String[] argv,
FuseOperations op,
int op_size,
jnr.ffi.Pointer user_data)
Main function of FUSE.
|
int |
fuse_notify_poll(FusePollhandle ph) |
void |
fuse_pollhandle_destroy(FusePollhandle ph) |
long fuse_buf_size(FuseBufvec bufv)
long fuse_buf_copy(FuseBufvec dstv, FuseBufvec srcv, int flags)
void fuse_pollhandle_destroy(FusePollhandle ph)
int fuse_notify_poll(FusePollhandle ph)
FuseContext fuse_get_context()
void fuse_exit(jnr.ffi.Pointer fuse)
fuse - the FUSE handleint fuse_main_real(int argc,
java.lang.String[] argv,
FuseOperations op,
int op_size,
jnr.ffi.Pointer user_data)
This function does the following: - parses command line options (-d -s and -h) - passes relevant mount options to the fuse_mount() - installs signal handlers for INT, HUP, TERM and PIPE - registers an exit handler to unmount the filesystem on program exit - creates a fuse handle - registers the operations - calls either the single-threaded or the multi-threaded event loop
argc - the argument counter passed to the main() functionargv - the argument vector passed to the main() functionop - the file system operationuser_data - user data supplied in the context during the init() method