1 /* copied from RFC1813 */
3 const MNTPATHLEN = 1024; /* Maximum bytes in a path name */
4 const MNTNAMLEN = 255; /* Maximum bytes in a name */
5 const FHSIZE3 = 64; /* Maximum bytes in a V3 file handle */
8 typedef opaque fhandle3<FHSIZE3>;
9 typedef string dirpath<MNTPATHLEN>;
10 typedef string name<MNTNAMLEN>;
13 MNT3_OK = 0, /* no error */
14 MNT3ERR_PERM = 1, /* Not owner */
15 MNT3ERR_NOENT = 2, /* No such file or directory */
16 MNT3ERR_IO = 5, /* I/O error */
17 MNT3ERR_ACCES = 13, /* Permission denied */
18 MNT3ERR_NOTDIR = 20, /* Not a directory */
19 MNT3ERR_INVAL = 22, /* Invalid argument */
20 MNT3ERR_NAMETOOLONG = 63, /* Filename too long */
21 MNT3ERR_NOTSUPP = 10004, /* Operation not supported */
22 MNT3ERR_SERVERFAULT = 10006 /* A failure on the server */
26 typedef struct mountbody *mountlist;
34 typedef struct groupnode *groups;
42 typedef struct exportnode *exports;
55 union mountres3 switch (mountstat3 fhs_status) {
57 mountres3_ok mountinfo;
62 program MOUNT_PROGRAM {
64 void MOUNT3_NULL(void) = 0;
65 mountres3 MOUNT3_MNT(dirpath) = 1;
66 mountlist MOUNT3_DUMP(void) = 2;
67 void MOUNT3_UMNT(dirpath) = 3;
68 void MOUNT3_UMNTALL(void) = 4;
69 exports MOUNT3_EXPORT(void) = 5;