nfs-ganesha 1.4
Classes | Defines | Typedefs | Enumerations | Functions

mount.h File Reference

Go to the source code of this file.

Classes

struct  fhandle3
struct  groupnode
struct  exportnode
struct  mountbody
struct  mountres3_ok
struct  mountres3

Defines

#define MNTPATHLEN   1024
#define MNTNAMLEN   255
#define NB_AUTH_FLAVOR   10
#define MNT_RPC_GSS_NONE   390003
#define MNT_RPC_GSS_INTEGRITY   390004
#define MNT_RPC_GSS_PRIVACY   390005
#define MOUNTPROG   100005
#define MOUNT_V1   1
#define MOUNTPROC2_NULL   0
#define MOUNTPROC2_MNT   1
#define MOUNTPROC2_DUMP   2
#define MOUNTPROC2_UMNT   3
#define MOUNTPROC2_UMNTALL   4
#define MOUNTPROC2_EXPORT   5
#define MOUNT_V3   3
#define MOUNTPROC3_NULL   0
#define MOUNTPROC3_MNT   1
#define MOUNTPROC3_DUMP   2
#define MOUNTPROC3_UMNT   3
#define MOUNTPROC3_UMNTALL   4
#define MOUNTPROC3_EXPORT   5

Typedefs

typedef enum mountstat3 mountstat3
typedef char * dirpath
typedef char * name
typedef struct groupnodegroups
typedef struct groupnode groupnode
typedef struct exportnodeexports
typedef struct exportnode exportnode
typedef struct mountbodymountlist
typedef struct mountbody mountbody
typedef struct mountres3_ok mountres3_ok
typedef struct mountres3 mountres3

Enumerations

enum  mountstat3 {
  MNT3_OK = 0, MNT3ERR_PERM = 1, MNT3ERR_NOENT = 2, MNT3ERR_IO = 5,
  MNT3ERR_ACCES = 13, MNT3ERR_NOTDIR = 20, MNT3ERR_INVAL = 22, MNT3ERR_NAMETOOLONG = 63,
  MNT3ERR_NOTSUPP = 10004, MNT3ERR_SERVERFAULT = 10006
}

Functions

bool_t xdr_mountstat3 (XDR *, mountstat3 *)
bool_t xdr_fhandle3 (XDR *, fhandle3 *)
bool_t xdr_dirpath (XDR *, dirpath *)
bool_t xdr_name (XDR *, name *)
bool_t xdr_groups (XDR *, groups *)
bool_t xdr_groupnode (XDR *, groupnode *)
bool_t xdr_exports (XDR *, exports *)
bool_t xdr_exportnode (XDR *, exportnode *)
bool_t xdr_mountlist (XDR *, mountlist *)
bool_t xdr_mountbody (XDR *, mountbody *)
bool_t xdr_mountres3_ok (XDR *, mountres3_ok *)
bool_t xdr_mountres3 (XDR *, mountres3 *)

Define Documentation

#define MNT_RPC_GSS_INTEGRITY   390004

Definition at line 24 of file mount.h.

#define MNT_RPC_GSS_NONE   390003

Definition at line 23 of file mount.h.

#define MNT_RPC_GSS_PRIVACY   390005

Definition at line 25 of file mount.h.

#define MNTNAMLEN   255

Definition at line 18 of file mount.h.

#define MNTPATHLEN   1024

Definition at line 17 of file mount.h.

#define MOUNT_V1   1

Definition at line 108 of file mount.h.

#define MOUNT_V3   3

Definition at line 115 of file mount.h.

#define MOUNTPROC2_DUMP   2

Definition at line 111 of file mount.h.

#define MOUNTPROC2_EXPORT   5

Definition at line 114 of file mount.h.

#define MOUNTPROC2_MNT   1

Definition at line 110 of file mount.h.

#define MOUNTPROC2_NULL   0

Definition at line 109 of file mount.h.

#define MOUNTPROC2_UMNT   3

Definition at line 112 of file mount.h.

#define MOUNTPROC2_UMNTALL   4

Definition at line 113 of file mount.h.

#define MOUNTPROC3_DUMP   2

Definition at line 118 of file mount.h.

#define MOUNTPROC3_EXPORT   5

Definition at line 121 of file mount.h.

#define MOUNTPROC3_MNT   1

Definition at line 117 of file mount.h.

#define MOUNTPROC3_NULL   0

Definition at line 116 of file mount.h.

#define MOUNTPROC3_UMNT   3

Definition at line 119 of file mount.h.

#define MOUNTPROC3_UMNTALL   4

Definition at line 120 of file mount.h.

#define MOUNTPROG   100005

Definition at line 107 of file mount.h.

#define NB_AUTH_FLAVOR   10

Definition at line 20 of file mount.h.


Typedef Documentation

typedef char* dirpath

Definition at line 53 of file mount.h.

typedef struct exportnode exportnode

Definition at line 74 of file mount.h.

typedef struct exportnode* exports

Definition at line 66 of file mount.h.

typedef struct groupnode groupnode

Definition at line 64 of file mount.h.

typedef struct groupnode* groups

Definition at line 57 of file mount.h.

typedef struct mountbody mountbody

Definition at line 84 of file mount.h.

typedef struct mountbody* mountlist

Definition at line 76 of file mount.h.

typedef struct mountres3 mountres3

Definition at line 105 of file mount.h.

typedef struct mountres3_ok mountres3_ok

Definition at line 95 of file mount.h.

typedef enum mountstat3 mountstat3

Definition at line 40 of file mount.h.

typedef char* name

Definition at line 55 of file mount.h.


Enumeration Type Documentation

enum mountstat3
Enumerator:
MNT3_OK 
MNT3ERR_PERM 
MNT3ERR_NOENT 
MNT3ERR_IO 
MNT3ERR_ACCES 
MNT3ERR_NOTDIR 
MNT3ERR_INVAL 
MNT3ERR_NAMETOOLONG 
MNT3ERR_NOTSUPP 
MNT3ERR_SERVERFAULT 

Definition at line 27 of file mount.h.


Function Documentation

bool_t xdr_dirpath ( XDR *  ,
dirpath  
)

Definition at line 52 of file xdr_mount.c.

bool_t xdr_exportnode ( XDR *  ,
exportnode  
)

Definition at line 136 of file xdr_mount.c.

bool_t xdr_exports ( XDR *  ,
exports  
)

Definition at line 119 of file xdr_mount.c.

bool_t xdr_fhandle3 ( XDR *  ,
fhandle3  
)

Definition at line 35 of file xdr_mount.c.

bool_t xdr_groupnode ( XDR *  ,
groupnode  
)

Definition at line 101 of file xdr_mount.c.

bool_t xdr_groups ( XDR *  ,
groups  
)

Definition at line 84 of file xdr_mount.c.

bool_t xdr_mountbody ( XDR *  ,
mountbody  
)

Definition at line 173 of file xdr_mount.c.

bool_t xdr_mountlist ( XDR *  ,
mountlist  
)

Definition at line 156 of file xdr_mount.c.

bool_t xdr_mountres3 ( XDR *  ,
mountres3  
)

Definition at line 214 of file xdr_mount.c.

bool_t xdr_mountres3_ok ( XDR *  ,
mountres3_ok  
)

Definition at line 193 of file xdr_mount.c.

bool_t xdr_mountstat3 ( XDR *  ,
mountstat3  
)

Definition at line 19 of file xdr_mount.c.

bool_t xdr_name ( XDR *  ,
name  
)

Definition at line 68 of file xdr_mount.c.