]> git.decadent.org.uk Git - nfs-utils.git/blob - support/include/nfs/export.h
80d23fd4cb03af1511ecc6a542972fca0846a5c6
[nfs-utils.git] / support / include / nfs / export.h
1 #ifndef _NSF_EXPORT_H
2 #define _NSF_EXPORT_H
3
4 /*
5  * Important limits for the exports stuff.
6  */
7 #define NFSCLNT_IDMAX           1024
8 #define NFSCLNT_ADDRMAX         16
9 #define NFSCLNT_KEYMAX          32
10
11 /*
12  * Export flags.
13  */
14 #define NFSEXP_READONLY         0x0001
15 #define NFSEXP_INSECURE_PORT    0x0002
16 #define NFSEXP_ROOTSQUASH       0x0004
17 #define NFSEXP_ALLSQUASH        0x0008
18 #define NFSEXP_ASYNC            0x0010
19 #define NFSEXP_GATHERED_WRITES  0x0020
20 #define NFSEXP_UIDMAP           0x0040
21 #define NFSEXP_KERBEROS         0x0080          /* not available */
22 #define NFSEXP_SUNSECURE        0x0100
23 #define NFSEXP_CROSSMNT         0x0200          /* not available */
24 #define NFSEXP_ALLFLAGS         0x03FF
25
26 #endif /* _NSF_EXPORT_H */