X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fexportfs.h;h=01e87ddc289252e818f50ab375d9fc25969a8c9f;hp=8e548334e3c0ea7b79a2022a16f9f0c768d1f5da;hb=cf5b38e707b629540b5123124228311a620e3dce;hpb=8940675a20967145b37a596334c25a54804435cc diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 8e54833..01e87dd 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -100,6 +100,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; @@ -129,7 +130,6 @@ int client_member(const char *client, const char *name); void export_read(char *fname); -void export_add(nfs_export *); void export_reset(nfs_export *); nfs_export * export_lookup(char *hname, char *path, int caconical); nfs_export * export_find(const struct addrinfo *ai,