10 #if !defined(FUSE_H_) && !defined(FUSE_LOWLEVEL_H_) 11 #error "Never include <fuse_common.h> directly; use <fuse.h> or <fuse_lowlevel.h> instead." 14 #ifndef FUSE_COMMON_H_ 15 #define FUSE_COMMON_H_ 20 #include <sys/types.h> 23 #define FUSE_MAJOR_VERSION 3 26 #define FUSE_MINOR_VERSION 2 28 #define FUSE_MAKE_VERSION(maj, min) ((maj) * 10 + (min)) 29 #define FUSE_VERSION FUSE_MAKE_VERSION(FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION) 78 unsigned int flock_release : 1;
88 unsigned int padding2 : 32;
141 #define FUSE_CAP_ASYNC_READ (1 << 0) 149 #define FUSE_CAP_POSIX_LOCKS (1 << 1) 158 #define FUSE_CAP_ATOMIC_O_TRUNC (1 << 3) 165 #define FUSE_CAP_EXPORT_SUPPORT (1 << 4) 173 #define FUSE_CAP_DONT_MASK (1 << 6) 181 #define FUSE_CAP_SPLICE_WRITE (1 << 7) 189 #define FUSE_CAP_SPLICE_MOVE (1 << 8) 198 #define FUSE_CAP_SPLICE_READ (1 << 9) 211 #define FUSE_CAP_FLOCK_LOCKS (1 << 10) 218 #define FUSE_CAP_IOCTL_DIR (1 << 11) 240 #define FUSE_CAP_AUTO_INVAL_DATA (1 << 12) 248 #define FUSE_CAP_READDIRPLUS (1 << 13) 276 #define FUSE_CAP_READDIRPLUS_AUTO (1 << 14) 287 #define FUSE_CAP_ASYNC_DIO (1 << 15) 296 #define FUSE_CAP_WRITEBACK_CACHE (1 << 16) 309 #define FUSE_CAP_NO_OPEN_SUPPORT (1 << 17) 319 #define FUSE_CAP_PARALLEL_DIROPS (1 << 18) 338 #define FUSE_CAP_POSIX_ACL (1 << 19) 347 #define FUSE_CAP_HANDLE_KILLPRIV (1 << 20) 359 #define FUSE_CAP_NO_OPENDIR_SUPPORT (1 << 24) 371 #define FUSE_IOCTL_COMPAT (1 << 0) 372 #define FUSE_IOCTL_UNRESTRICTED (1 << 1) 373 #define FUSE_IOCTL_RETRY (1 << 2) 374 #define FUSE_IOCTL_DIR (1 << 4) 376 #define FUSE_IOCTL_MAX_IOV 256 493 unsigned reserved[22];
497 struct fuse_pollhandle;
498 struct fuse_conn_info_opts;
730 #define FUSE_BUFVEC_INIT(size__) \ 731 ((struct fuse_bufvec) { \ 737 (enum fuse_buf_flags) 0, \ 801 #if !defined(FUSE_USE_VERSION) || FUSE_USE_VERSION < 30 802 # error only API version 30 or greater is supported 816 #if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 6) && !defined __cplusplus 817 _Static_assert(
sizeof(off_t) == 8,
"fuse: off_t must be 64bit");
819 struct _fuse_off_t_must_be_64bit_dummy_struct \
820 {
unsigned _fuse_off_t_must_be_64bit:((
sizeof(off_t) == 8) ? 1 : -1); };
int fuse_set_signal_handlers(struct fuse_session *se)
unsigned int max_idle_threads
const char * fuse_pkgversion(void)
void fuse_remove_signal_handlers(struct fuse_session *se)
unsigned congestion_threshold
ssize_t fuse_buf_copy(struct fuse_bufvec *dst, struct fuse_bufvec *src, enum fuse_buf_copy_flags flags)
void fuse_pollhandle_destroy(struct fuse_pollhandle *ph)
size_t fuse_buf_size(const struct fuse_bufvec *bufv)
int fuse_daemonize(int foreground)
unsigned int cache_readdir
struct fuse_conn_info_opts * fuse_parse_conn_info_opts(struct fuse_args *args)
void fuse_apply_conn_info_opts(struct fuse_conn_info_opts *opts, struct fuse_conn_info *conn)