6.3.1.1.2. Mount Protocol Interface
typedef struct mountbody *mountlist;
struct mountbody {
name ml_hostname;
dirpath ml_directory;
mountlist ml_next;
};
typedef struct groupnode *groups;
struct groupnode {
name gr_name;
groups gr_next;
};
typedef struct exportnode *exports;
struct exportnode {
dirpath ex_dir;
groups ex_groups;
exports ex_next;
};
program MOUNTPROG {
version MOUNTVERS {
void MOUNTPROC_NULL (void) = 0;
fhstatus MOUNTPROC_MNT (dirpath) = 1;
mountlist MOUNTPROC_DUMP (void) = 2;
void MOUNTPROC_UMNT (dirpath) = 3;
void MOUNTPROC_UMNTALL (void) = 4;
exports MOUNTPROC_EXPORT (void) = 5;
exports MOUNTPROC_EXPORTALL (void) = 6;
} = 1;
} = 100005;