nfs-ganesha 1.4
Classes | Defines | Typedefs | Functions

ganesha_fuse_wrap.h File Reference

#include <fcntl.h>
#include <time.h>
#include <utime.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include <sys/uio.h>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  ganefuse_file_info
struct  ganefuse_conn_info
struct  ganefuse_operations
struct  ganefuse_context

Defines

#define FUSE_MAJOR_VERSION   2
#define FUSE_MINOR_VERSION   6
#define FUSE_MAKE_VERSION(maj, min)   ((maj) * 10 + (min))
#define FUSE_VERSION   FUSE_MAKE_VERSION(FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION)
#define fuse   ganefuse
#define fuse_cmd   ganefuse_cmd
#define fuse_fill_dir_t   ganefuse_fill_dir_t
#define fuse_file_info   ganefuse_file_info
#define fuse_conn_info   ganefuse_conn_info
#define fuse_operations   ganefuse_operations
#define fuse_context   ganefuse_context
#define fuse_main   ganefuse_main
#define fuse_get_context   ganefuse_get_context
#define fuse_dirh_t   ganefuse_dirh_t
#define fuse_dirfil_t   ganefuse_dirfil_t

Typedefs

typedef int(* ganefuse_fill_dir_t )(void *buf, const char *name, const struct stat *stbuf, off_t off)
typedef struct ganefuse_dirhandle * ganefuse_dirh_t
typedef int(* ganefuse_dirfil_t )(ganefuse_dirh_t h, const char *name, int type, ino_t ino)

Functions

struct ganefuse_contextganefuse_get_context (void)
int ganefuse_main (int argc, char *argv[], const struct ganefuse_operations *op, void *user_data)

Define Documentation

#define fuse   ganefuse

Definition at line 136 of file ganesha_fuse_wrap.h.

#define fuse_cmd   ganefuse_cmd

Definition at line 137 of file ganesha_fuse_wrap.h.

#define fuse_conn_info   ganefuse_conn_info

Definition at line 140 of file ganesha_fuse_wrap.h.

#define fuse_context   ganefuse_context

Definition at line 142 of file ganesha_fuse_wrap.h.

#define fuse_dirfil_t   ganefuse_dirfil_t

Definition at line 146 of file ganesha_fuse_wrap.h.

#define fuse_dirh_t   ganefuse_dirh_t

Definition at line 145 of file ganesha_fuse_wrap.h.

#define fuse_file_info   ganefuse_file_info

Definition at line 139 of file ganesha_fuse_wrap.h.

#define fuse_fill_dir_t   ganefuse_fill_dir_t

Definition at line 138 of file ganesha_fuse_wrap.h.

#define fuse_get_context   ganefuse_get_context

Definition at line 144 of file ganesha_fuse_wrap.h.

#define fuse_main   ganefuse_main

Definition at line 143 of file ganesha_fuse_wrap.h.

#define FUSE_MAJOR_VERSION   2

Definition at line 15 of file ganesha_fuse_wrap.h.

#define FUSE_MAKE_VERSION (   maj,
  min 
)    ((maj) * 10 + (min))

Definition at line 20 of file ganesha_fuse_wrap.h.

#define FUSE_MINOR_VERSION   6

Definition at line 18 of file ganesha_fuse_wrap.h.

#define fuse_operations   ganefuse_operations

Definition at line 141 of file ganesha_fuse_wrap.h.

#define FUSE_VERSION   FUSE_MAKE_VERSION(FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION)

Definition at line 21 of file ganesha_fuse_wrap.h.


Typedef Documentation

typedef int(* ganefuse_dirfil_t)(ganefuse_dirh_t h, const char *name, int type, ino_t ino)

Definition at line 54 of file ganesha_fuse_wrap.h.

typedef struct ganefuse_dirhandle* ganefuse_dirh_t

Definition at line 53 of file ganesha_fuse_wrap.h.

typedef int(* ganefuse_fill_dir_t)(void *buf, const char *name, const struct stat *stbuf, off_t off)

Definition at line 25 of file ganesha_fuse_wrap.h.


Function Documentation

struct ganefuse_context* ganefuse_get_context ( void  ) [read]

Definition at line 10 of file fsal_fuse_helper.c.

int ganefuse_main ( int  argc,
char *  argv[],
const struct ganefuse_operations op,
void *  user_data 
)

main: simply the main function.

The 'main' function as in every C program.

Parameters:
argcnumber of arguments
argvarray of arguments
Returns:
status to calling program by calling the exit(3C) function.

Definition at line 103 of file fuse_binding.c.