Logo Search packages:      
Sourcecode: fuse version File versions

fuse.h File Reference


Detailed Description

This file defines the library interface of FUSE

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 21 (default) 22 or 25, to use the even older 1.X API define it to 11.

Definition in file fuse.h.

#include "fuse_common.h"
#include <fcntl.h>
#include <time.h>
#include <utime.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include "fuse_compat.h"

Go to the source code of this file.

Classes

struct  fuse_context
struct  fuse_module
struct  fuse_operations

Defines

#define __fuse_exited   fuse_exited
#define __fuse_loop_mt   fuse_loop_mt_proc
#define __fuse_process_cmd   fuse_process_cmd
#define __fuse_read_cmd   fuse_read_cmd
#define __fuse_set_getcontext_func   fuse_set_getcontext_func
#define __fuse_setup   fuse_setup_compat2
#define __fuse_teardown   fuse_teardown_compat22
#define fuse_dirfil_t   fuse_dirfil_t_compat
#define fuse_main   fuse_main_compat2
#define fuse_main(argc, argv, op, user_data)   fuse_main_real(argc, argv, op, sizeof(*(op)), user_data)
#define fuse_new   fuse_new_compat2
#define fuse_operations   fuse_operations_compat2
#define FUSE_REGISTER_MODULE(name_, factory_)
#define FUSE_USE_VERSION   21

Typedefs

typedef int(* fuse_dirfil_t )(fuse_dirh_t h, const char *name, int type, ino_t ino)
typedef struct fuse_dirhandle * fuse_dirh_t
typedef int(* fuse_fill_dir_t )(void *buf, const char *name, const struct stat *stbuf, off_t off)
typedef void(* fuse_processor_t )(struct fuse *, struct fuse_cmd *, void *)

Functions

void fuse_destroy (struct fuse *f)
void fuse_exit (struct fuse *f)
int fuse_exited (struct fuse *f)
int fuse_fs_access (struct fuse_fs *fs, const char *path, int mask)
int fuse_fs_bmap (struct fuse_fs *fs, const char *path, size_t blocksize, uint64_t *idx)
int fuse_fs_chmod (struct fuse_fs *fs, const char *path, mode_t mode)
int fuse_fs_chown (struct fuse_fs *fs, const char *path, uid_t uid, gid_t gid)
int fuse_fs_create (struct fuse_fs *fs, const char *path, mode_t mode, struct fuse_file_info *fi)
void fuse_fs_destroy (struct fuse_fs *fs)
int fuse_fs_fgetattr (struct fuse_fs *fs, const char *path, struct stat *buf, struct fuse_file_info *fi)
int fuse_fs_flush (struct fuse_fs *fs, const char *path, struct fuse_file_info *fi)
int fuse_fs_fsync (struct fuse_fs *fs, const char *path, int datasync, struct fuse_file_info *fi)
int fuse_fs_fsyncdir (struct fuse_fs *fs, const char *path, int datasync, struct fuse_file_info *fi)
int fuse_fs_ftruncate (struct fuse_fs *fs, const char *path, off_t size, struct fuse_file_info *fi)
int fuse_fs_getattr (struct fuse_fs *fs, const char *path, struct stat *buf)
int fuse_fs_getxattr (struct fuse_fs *fs, const char *path, const char *name, char *value, size_t size)
void fuse_fs_init (struct fuse_fs *fs, struct fuse_conn_info *conn)
int fuse_fs_link (struct fuse_fs *fs, const char *oldpath, const char *newpath)
int fuse_fs_listxattr (struct fuse_fs *fs, const char *path, char *list, size_t size)
int fuse_fs_lock (struct fuse_fs *fs, const char *path, struct fuse_file_info *fi, int cmd, struct flock *lock)
int fuse_fs_mkdir (struct fuse_fs *fs, const char *path, mode_t mode)
int fuse_fs_mknod (struct fuse_fs *fs, const char *path, mode_t mode, dev_t rdev)
struct fuse_fs * fuse_fs_new (const struct fuse_operations *op, size_t op_size, void *user_data)
int fuse_fs_open (struct fuse_fs *fs, const char *path, struct fuse_file_info *fi)
int fuse_fs_opendir (struct fuse_fs *fs, const char *path, struct fuse_file_info *fi)
int fuse_fs_read (struct fuse_fs *fs, const char *path, char *buf, size_t size, off_t off, struct fuse_file_info *fi)
int fuse_fs_readdir (struct fuse_fs *fs, const char *path, void *buf, fuse_fill_dir_t filler, off_t off, struct fuse_file_info *fi)
int fuse_fs_readlink (struct fuse_fs *fs, const char *path, char *buf, size_t len)
int fuse_fs_release (struct fuse_fs *fs, const char *path, struct fuse_file_info *fi)
int fuse_fs_releasedir (struct fuse_fs *fs, const char *path, struct fuse_file_info *fi)
int fuse_fs_removexattr (struct fuse_fs *fs, const char *path, const char *name)
int fuse_fs_rename (struct fuse_fs *fs, const char *oldpath, const char *newpath)
int fuse_fs_rmdir (struct fuse_fs *fs, const char *path)
int fuse_fs_setxattr (struct fuse_fs *fs, const char *path, const char *name, const char *value, size_t size, int flags)
int fuse_fs_statfs (struct fuse_fs *fs, const char *path, struct statvfs *buf)
int fuse_fs_symlink (struct fuse_fs *fs, const char *linkname, const char *path)
int fuse_fs_truncate (struct fuse_fs *fs, const char *path, off_t size)
int fuse_fs_unlink (struct fuse_fs *fs, const char *path)
int fuse_fs_utimens (struct fuse_fs *fs, const char *path, const struct timespec tv[2])
int fuse_fs_write (struct fuse_fs *fs, const char *path, const char *buf, size_t size, off_t off, struct fuse_file_info *fi)
struct fuse_contextfuse_get_context (void)
struct fuse_session * fuse_get_session (struct fuse *f)
int fuse_interrupted (void)
int fuse_invalidate (struct fuse *f, const char *path)
int fuse_is_lib_option (const char *opt)
int fuse_loop (struct fuse *f)
int fuse_loop_mt (struct fuse *f)
int fuse_loop_mt_proc (struct fuse *f, fuse_processor_t proc, void *data)
int fuse_main_real (int argc, char *argv[], const struct fuse_operations *op, size_t op_size, void *user_data)
struct fuse * fuse_new (struct fuse_chan *ch, struct fuse_args *args, const struct fuse_operations *op, size_t op_size, void *user_data)
void fuse_process_cmd (struct fuse *f, struct fuse_cmd *cmd)
struct fuse_cmd * fuse_read_cmd (struct fuse *f)
void fuse_register_module (struct fuse_module *mod)
void fuse_set_getcontext_func (struct fuse_context *(*func)(void))
struct fuse * fuse_setup (int argc, char *argv[], const struct fuse_operations *op, size_t op_size, char **mountpoint, int *multithreaded, void *user_data)
void fuse_teardown (struct fuse *fuse, char *mountpoint)


Generated by  Doxygen 1.6.0   Back to index