#include "fuse_common.h"
#include <utime.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include <sys/uio.h>
#include "fuse_lowlevel_compat.h"
Go to the source code of this file.
Classes | |
struct | fuse_chan_ops |
struct | fuse_ctx |
struct | fuse_entry_param |
struct | fuse_lowlevel_ops |
struct | fuse_session_ops |
Defines | |
#define | fuse_chan_new fuse_chan_new_compat24 |
#define | fuse_chan_ops fuse_chan_ops_compat24 |
#define | FUSE_ROOT_ID 1 |
#define | FUSE_SET_ATTR_ATIME (1 << 4) |
#define | FUSE_SET_ATTR_ATIME_NOW (1 << 7) |
#define | FUSE_SET_ATTR_GID (1 << 2) |
#define | FUSE_SET_ATTR_MODE (1 << 0) |
#define | FUSE_SET_ATTR_MTIME (1 << 5) |
#define | FUSE_SET_ATTR_MTIME_NOW (1 << 8) |
#define | FUSE_SET_ATTR_SIZE (1 << 3) |
#define | FUSE_SET_ATTR_UID (1 << 1) |
#define | FUSE_USE_VERSION 24 |
Typedefs | |
typedef unsigned long | fuse_ino_t |
typedef void(* | fuse_interrupt_func_t )(fuse_req_t req, void *data) |
typedef struct fuse_req * | fuse_req_t |
Functions | |
size_t | fuse_add_direntry (fuse_req_t req, char *buf, size_t bufsize, const char *name, const struct stat *stbuf, off_t off) |
size_t | fuse_chan_bufsize (struct fuse_chan *ch) |
void * | fuse_chan_data (struct fuse_chan *ch) |
void | fuse_chan_destroy (struct fuse_chan *ch) |
int | fuse_chan_fd (struct fuse_chan *ch) |
struct fuse_chan * | fuse_chan_new (struct fuse_chan_ops *op, int fd, size_t bufsize, void *data) |
int | fuse_chan_recv (struct fuse_chan **ch, char *buf, size_t size) |
int | fuse_chan_send (struct fuse_chan *ch, const struct iovec iov[], size_t count) |
struct fuse_session * | fuse_chan_session (struct fuse_chan *ch) |
int | fuse_lowlevel_is_lib_option (const char *opt) |
struct fuse_session * | fuse_lowlevel_new (struct fuse_args *args, const struct fuse_lowlevel_ops *op, size_t op_size, void *userdata) |
int | fuse_lowlevel_notify_inval_entry (struct fuse_chan *ch, fuse_ino_t parent, const char *name, size_t namelen) |
int | fuse_lowlevel_notify_inval_inode (struct fuse_chan *ch, fuse_ino_t ino, off_t off, off_t len) |
int | fuse_lowlevel_notify_poll (struct fuse_pollhandle *ph) |
int | fuse_reply_attr (fuse_req_t req, const struct stat *attr, double attr_timeout) |
int | fuse_reply_bmap (fuse_req_t req, uint64_t idx) |
int | fuse_reply_buf (fuse_req_t req, const char *buf, size_t size) |
int | fuse_reply_create (fuse_req_t req, const struct fuse_entry_param *e, const struct fuse_file_info *fi) |
int | fuse_reply_entry (fuse_req_t req, const struct fuse_entry_param *e) |
int | fuse_reply_err (fuse_req_t req, int err) |
int | fuse_reply_ioctl (fuse_req_t req, int result, const void *buf, size_t size) |
int | fuse_reply_ioctl_iov (fuse_req_t req, int result, const struct iovec *iov, int count) |
int | fuse_reply_ioctl_retry (fuse_req_t req, const struct iovec *in_iov, size_t in_count, const struct iovec *out_iov, size_t out_count) |
int | fuse_reply_iov (fuse_req_t req, const struct iovec *iov, int count) |
int | fuse_reply_lock (fuse_req_t req, struct flock *lock) |
void | fuse_reply_none (fuse_req_t req) |
int | fuse_reply_open (fuse_req_t req, const struct fuse_file_info *fi) |
int | fuse_reply_poll (fuse_req_t req, unsigned revents) |
int | fuse_reply_readlink (fuse_req_t req, const char *link) |
int | fuse_reply_statfs (fuse_req_t req, const struct statvfs *stbuf) |
int | fuse_reply_write (fuse_req_t req, size_t count) |
int | fuse_reply_xattr (fuse_req_t req, size_t count) |
struct fuse_ctx * | fuse_req_ctx (fuse_req_t req) |
int | fuse_req_getgroups (fuse_req_t req, int size, gid_t list[]) |
void | fuse_req_interrupt_func (fuse_req_t req, fuse_interrupt_func_t func, void *data) |
int | fuse_req_interrupted (fuse_req_t req) |
void * | fuse_req_userdata (fuse_req_t req) |
void | fuse_session_add_chan (struct fuse_session *se, struct fuse_chan *ch) |
void * | fuse_session_data (struct fuse_session *se) |
void | fuse_session_destroy (struct fuse_session *se) |
void | fuse_session_exit (struct fuse_session *se) |
int | fuse_session_exited (struct fuse_session *se) |
int | fuse_session_loop (struct fuse_session *se) |
int | fuse_session_loop_mt (struct fuse_session *se) |
struct fuse_session * | fuse_session_new (struct fuse_session_ops *op, void *data) |
struct fuse_chan * | fuse_session_next_chan (struct fuse_session *se, struct fuse_chan *ch) |
void | fuse_session_process (struct fuse_session *se, const char *buf, size_t len, struct fuse_chan *ch) |
void | fuse_session_remove_chan (struct fuse_chan *ch) |
void | fuse_session_reset (struct fuse_session *se) |
Low level API
IMPORTANT: you should define FUSE_USE_VERSION before including this header. To use the newest API define it to 26 (recommended for any new application), to use the old API define it to 24 (default) or 25
Definition in file fuse_lowlevel.h.