nfs-ganesha 1.4
Classes | Defines | Typedefs

fsal_types.h File Reference

#include <sys/types.h>
#include <sys/param.h>
#include "config_parsing.h"
#include "err_fsal.h"

Go to the source code of this file.

Classes

struct  fsal_name__
struct  fsal_path__
struct  fsal_handle__
struct  fsal_export_context__
struct  fsal_op_context__
struct  fs_specific_initinfo__

Defines

#define CONF_LABEL_FS_SPECIFIC   "TEMPLATE"
#define FSAL_EXPORT_CONTEXT_SPECIFIC(pexport_context)   (uint64_t)(FSAL_Handle_to_RBTIndex( &(pexport_context->root_handle), 0 ) )
#define FSAL_OP_CONTEXT_TO_UID(pcontext)   ( pcontext->credential.user )
#define FSAL_OP_CONTEXT_TO_GID(pcontext)   ( pcontext->credential.group )
#define FSAL_READDIR_FROM_BEGINNING   0

Typedefs

typedef struct fsal_name__ fsal_name_t
typedef struct fsal_path__ fsal_path_t
typedef struct fsal_handle__ fsal_handle_t
typedef struct
fsal_export_context__ 
fsal_export_context_t
typedef struct fsal_op_context__ fsal_op_context_t
typedef int fsal_dir_t
typedef int fsal_file_t
typedef int fsal_cookie_t
typedef struct
fs_specific_initinfo__ 
fs_specific_initinfo_t

Define Documentation

#define CONF_LABEL_FS_SPECIFIC   "TEMPLATE"

Definition at line 43 of file FSAL/FSAL_TEMPLATE/fsal_types.h.

#define FSAL_EXPORT_CONTEXT_SPECIFIC (   pexport_context)    (uint64_t)(FSAL_Handle_to_RBTIndex( &(pexport_context->root_handle), 0 ) )

Definition at line 92 of file FSAL/FSAL_TEMPLATE/fsal_types.h.

#define FSAL_OP_CONTEXT_TO_GID (   pcontext)    ( pcontext->credential.group )

Definition at line 104 of file FSAL/FSAL_TEMPLATE/fsal_types.h.

#define FSAL_OP_CONTEXT_TO_UID (   pcontext)    ( pcontext->credential.user )

Definition at line 103 of file FSAL/FSAL_TEMPLATE/fsal_types.h.

#define FSAL_READDIR_FROM_BEGINNING   0

Definition at line 113 of file FSAL/FSAL_TEMPLATE/fsal_types.h.


Typedef Documentation

typedef int fsal_cookie_t

Definition at line 111 of file FSAL/FSAL_TEMPLATE/fsal_types.h.

typedef int fsal_dir_t

Definition at line 106 of file FSAL/FSAL_TEMPLATE/fsal_types.h.

typedef int fsal_file_t

Definition at line 107 of file FSAL/FSAL_TEMPLATE/fsal_types.h.

typedef struct fsal_handle__ fsal_handle_t
typedef struct fsal_name__ fsal_name_t

object name.

typedef struct fsal_path__ fsal_path_t

object path.