X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fexportfs.h;h=431b5ce7701c0036668d8a61b31367f7b654c44f;hp=bf5bb67a9fd02e378c64225511ada24850e47954;hb=e3f2d2262fed12f0f6b77c5ac1c4072d82f1e754;hpb=f68785e72129ab643d6c793bd5a11bdf0010eff9 diff --git a/support/include/exportfs.h b/support/include/exportfs.h index bf5bb67..431b5ce 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -19,9 +19,17 @@ enum { MCL_WILDCARD, MCL_NETGROUP, MCL_ANONYMOUS, + MCL_GSS, MCL_MAXTYPES }; +enum { + FSLOC_NONE = 0, + FSLOC_REFER, + FSLOC_REPLICA, + FSLOC_STUB +}; + typedef struct mclient { struct mclient * m_next; char m_hostname[NFSCLNT_IDMAX+1]; @@ -39,7 +47,9 @@ typedef struct mexport { int m_exported; /* known to knfsd. -1 means not sure */ int m_xtabent : 1, /* xtab entry exists */ m_mayexport: 1, /* derived from xtabbed */ - m_changed : 1; /* options (may) have changed */ + m_changed : 1, /* options (may) have changed */ + m_warned : 1; /* warned about multiple exports + * matching one client */ } nfs_export; extern nfs_client * clientlist[MCL_MAXTYPES];