| fuse
    | 
| Data Structures | |
| struct | fuse_file_info | 
| struct | fuse_conn_info | 
| struct | fuse_buf | 
| struct | fuse_bufvec | 
| Macros | |
| #define | FUSE_MAJOR_VERSION 2 | 
| #define | FUSE_MINOR_VERSION 9 | 
| #define | FUSE_CAP_ASYNC_READ (1 << 0) | 
| #define | FUSE_IOCTL_COMPAT (1 << 0) | 
| Enumerations | |
| enum | fuse_buf_flags { FUSE_BUF_IS_FD = (1 << 1), FUSE_BUF_FD_SEEK = (1 << 2), FUSE_BUF_FD_RETRY = (1 << 3) } | 
| enum | fuse_buf_copy_flags { FUSE_BUF_NO_SPLICE = (1 << 1), FUSE_BUF_FORCE_SPLICE = (1 << 2), FUSE_BUF_SPLICE_MOVE = (1 << 3), FUSE_BUF_SPLICE_NONBLOCK = (1 << 4) } | 
| Functions | |
| struct fuse_chan * | fuse_mount (const char *mountpoint, struct fuse_args *args) | 
| void | fuse_unmount (const char *mountpoint, struct fuse_chan *ch) | 
| int | fuse_parse_cmdline (struct fuse_args *args, char **mountpoint, int *multithreaded, int *foreground) | 
| int | fuse_daemonize (int foreground) | 
| int | fuse_version (void) | 
| void | fuse_pollhandle_destroy (struct fuse_pollhandle *ph) | 
| size_t | fuse_buf_size (const struct fuse_bufvec *bufv) | 
| ssize_t | fuse_buf_copy (struct fuse_bufvec *dst, struct fuse_bufvec *src, enum fuse_buf_copy_flags flags) | 
| int | fuse_set_signal_handlers (struct fuse_session *se) | 
| void | fuse_remove_signal_handlers (struct fuse_session *se) | 
| #define FUSE_CAP_ASYNC_READ (1 << 0) | 
Capability bits for 'fuse_conn_info.capable' and 'fuse_conn_info.want'
FUSE_CAP_ASYNC_READ: filesystem supports asynchronous read requests FUSE_CAP_POSIX_LOCKS: filesystem supports "remote" locking FUSE_CAP_ATOMIC_O_TRUNC: filesystem handles the O_TRUNC open flag FUSE_CAP_EXPORT_SUPPORT: filesystem handles lookups of "." and ".." FUSE_CAP_BIG_WRITES: filesystem can handle write size larger than 4kB FUSE_CAP_DONT_MASK: don't apply umask to file mode on create operations FUSE_CAP_SPLICE_WRITE: ability to use splice() to write to the fuse device FUSE_CAP_SPLICE_MOVE: ability to move data to the fuse device with splice() FUSE_CAP_SPLICE_READ: ability to use splice() to read from the fuse device FUSE_CAP_IOCTL_DIR: ioctl support on directories
| #define FUSE_IOCTL_COMPAT (1 << 0) | 
Ioctl flags
FUSE_IOCTL_COMPAT: 32bit compat ioctl on 64bit machine FUSE_IOCTL_UNRESTRICTED: not restricted to well-formed ioctls, retry allowed FUSE_IOCTL_RETRY: retry with new iovecs FUSE_IOCTL_DIR: is a directory
FUSE_IOCTL_MAX_IOV: maximum of in_iovecs + out_iovecs
| #define FUSE_MAJOR_VERSION 2 | 
Major version of FUSE library interface
| #define FUSE_MINOR_VERSION 9 | 
Minor version of FUSE library interface
| enum fuse_buf_copy_flags | 
Buffer copy flags
| enum fuse_buf_flags | 
Buffer flags
| ssize_t fuse_buf_copy | ( | struct fuse_bufvec * | dst, | 
| struct fuse_bufvec * | src, | ||
| enum fuse_buf_copy_flags | flags | ||
| ) | 
Copy data from one buffer vector to another
| dst | destination buffer vector | 
| src | source buffer vector | 
| flags | flags controlling the copy | 
| size_t fuse_buf_size | ( | const struct fuse_bufvec * | bufv | ) | 
Get total size of data in a fuse buffer vector
| bufv | buffer vector | 
| int fuse_daemonize | ( | int | foreground | ) | 
Go into the background
| foreground | if true, stay in the foreground | 
| struct fuse_chan* fuse_mount | ( | const char * | mountpoint, | 
| struct fuse_args * | args | ||
| ) | 
Create a FUSE mountpoint
Returns a control file descriptor suitable for passing to fuse_new()
| mountpoint | the mount point path | 
| args | argument vector | 
| int fuse_parse_cmdline | ( | struct fuse_args * | args, | 
| char ** | mountpoint, | ||
| int * | multithreaded, | ||
| int * | foreground | ||
| ) | 
Parse common options
The following options are parsed:
'-f' foreground '-d' '-odebug' foreground, but keep the debug option '-s' single threaded '-h' '–help' help '-ho' help without header '-ofsname=..' file system name, if not present, then set to the program name
All parameters may be NULL
| args | argument vector | 
| mountpoint | the returned mountpoint, should be freed after use | 
| multithreaded | set to 1 unless the '-s' option is present | 
| foreground | set to 1 if one of the relevant options is present | 
| void fuse_pollhandle_destroy | ( | struct fuse_pollhandle * | ph | ) | 
Destroy poll handle
| ph | the poll handle | 
| void fuse_remove_signal_handlers | ( | struct fuse_session * | se | ) | 
Restore default signal handlers
Resets global session. After this fuse_set_signal_handlers() may be called again.
| se | the same session as given in fuse_set_signal_handlers() | 
| int fuse_set_signal_handlers | ( | struct fuse_session * | se | ) | 
Exit session on HUP, TERM and INT signals and ignore PIPE signal
Stores session in a global variable. May only be called once per process until fuse_remove_signal_handlers() is called.
| se | the session to exit | 
| void fuse_unmount | ( | const char * | mountpoint, | 
| struct fuse_chan * | ch | ||
| ) | 
Umount a FUSE mountpoint
| mountpoint | the mount point path | 
| ch | the communication channel | 
| int fuse_version | ( | void | ) | 
Get the version of the library
 1.8.8
 1.8.8