X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=support%2Finclude%2Fexportfs.h;h=a491b1a5a609d693d94def785a4241b1a6f877db;hb=1cecd88106230fc9a8c3527bcdf4195150e9ad64;hp=10f38c797d8fe2e2152c77b4a6e586ece12ac2fe;hpb=553caba3865667724291106d919e7c3fdf9534aa;p=nfs-utils.git diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 10f38c7..a491b1a 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -23,9 +23,16 @@ enum { 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]; + char * m_hostname; int m_type; int m_naddr; struct in_addr m_addrlist[NFSCLNT_ADDRMAX]; @@ -40,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];