X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fexportfs.h;h=99916e515af13691cbada636b10664673b7600dd;hp=3cf1ee82b9461bd20d5b3c16b7dc7cd929b34f36;hb=adee9b7bddedcddb8de4e0b7c2f778148b1f4d2b;hpb=53928c0166dcc0acceaa995edb8551b48968b5dd diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 3cf1ee8..99916e5 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -32,6 +32,10 @@ enum { FSLOC_STUB }; +#ifndef EXP_LOCKFILE +#define EXP_LOCKFILE "/var/lib/nfs/export-lock" +#endif + typedef struct mclient { struct mclient * m_next; char * m_hostname; @@ -100,6 +104,7 @@ typedef struct mexport { } nfs_export; #define HASH_TABLE_SIZE 1021 +#define DEFAULT_TTL (30 * 60) typedef struct _exp_hash_entry { nfs_export * p_first;