#if !defined(_FUSE_V30_H_)
#define _FUSE_V30_H_
#if !defined(FUSE_H_)
# error Do not include this header directly. Include <fuse.h> instead.
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct fuse_cmdline_opts;
typedef int (*fuse_fill_dir_t_v30)(
void *, const char *, const struct stat *, off_t, enum fuse_fill_dir_flags flags);
struct fuse_operations_v30 {
int (*getattr) (const char *, struct stat *, struct fuse_file_info *fi);
int (*readlink) (const char *, char *, size_t);
int (*mknod) (const char *, mode_t, dev_t);
int (*mkdir) (const char *, mode_t);
int (*unlink) (const char *);
int (*rmdir) (const char *);
int (*symlink) (const char *, const char *);
int (*rename) (const char *, const char *, unsigned int);
int (*link) (const char *, const char *);
int (*chmod) (const char *, mode_t, struct fuse_file_info *fi);
int (*chown) (const char *, uid_t, gid_t, struct fuse_file_info *fi);
int (*truncate) (const char *, off_t, struct fuse_file_info *fi);
int (*open) (const char *, struct fuse_file_info *);
int (*read) (const char *, char *, size_t, off_t, struct fuse_file_info *);
int (*write) (const char *, const char *, size_t, off_t, struct fuse_file_info *);
int (*statfs) (const char *, struct statvfs *);
int (*flush) (const char *, struct fuse_file_info *);
int (*release) (const char *, struct fuse_file_info *);
int (*fsync) (const char *, int, struct fuse_file_info *);
int (*setxattr) (const char *, const char *, const char *, size_t, int);
int (*getxattr) (const char *, const char *, char *, size_t);
int (*listxattr) (const char *, char *, size_t);
int (*removexattr) (const char *, const char *);
int (*opendir) (const char *, struct fuse_file_info *);
int (*readdir) (const char *, void *, fuse_fill_dir_t_v30, off_t, struct fuse_file_info *, enum fuse_readdir_flags);
int (*releasedir) (const char *, struct fuse_file_info *);
int (*fsyncdir) (const char *, int, struct fuse_file_info *);
void *(*init) (struct fuse_conn_info *, struct fuse_config *);
void (*destroy) (void *);
int (*access) (const char *, int);
int (*create) (const char *, mode_t, struct fuse_file_info *);
int (*lock) (const char *, struct fuse_file_info *, int, struct flock *);
int (*utimens) (const char *, const struct timespec[2], struct fuse_file_info *);
int (*bmap) (const char *, size_t , uint64_t *);
int (*ioctl) (const char *, int, void *, struct fuse_file_info *, unsigned int, void *);
int (*poll) (const char *, struct fuse_file_info *, struct fuse_pollhandle *, unsigned *);
int (*write_buf) (const char *, struct fuse_bufvec *, off_t, struct fuse_file_info *);
int (*read_buf) (const char *, struct fuse_bufvec **, size_t, off_t, struct fuse_file_info *);
int (*flock) (const char *, struct fuse_file_info *, int);
int (*fallocate) (const char *, int, off_t, off_t, struct fuse_file_info *);
};
int fuse_mount_v30(struct fuse *fuse, const char *mountpoint);
void fuse_unmount_v30(struct fuse *);
struct fuse *fuse_new_v30(struct fuse_args *args,
const void *op, int op_version, void *user_data);
void fuse_destroy_v30(struct fuse *fuse);
int fuse_loop_mt_v30(struct fuse *fuse, int clone_fd);
int fuse_parse_cmdline_v30(struct fuse_args *args,
struct fuse_cmdline_opts *opts);
#ifdef __cplusplus
}
#endif
#endif