]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/nfslib.h
exports: add a configurable time-to-live for the kernel cache entries
[nfs-utils.git] / support / include / nfslib.h
index 53ece0e31c71995bccec85e5f2f4a99c6dbc989f..73f3c20cd6c9db64096cd9d53192cd799b9755a8 100644 (file)
 #ifndef _PATH_EXPORTS
 #define _PATH_EXPORTS          "/etc/exports"
 #endif
+#ifndef _PATH_EXPORTS_D
+#define _PATH_EXPORTS_D         "/etc/exports.d"
+#endif
+#ifndef _EXT_EXPORT
+#define _EXT_EXPORT             ".exports"
+#endif
 #ifndef _PATH_IDMAPDCONF
 #define _PATH_IDMAPDCONF       "/etc/idmapd.conf"
 #endif
@@ -89,6 +95,7 @@ struct exportent {
        char *          e_fslocdata;
        char *          e_uuid;
        struct sec_entry e_secinfo[SECFLAVOR_COUNT+1];
+       unsigned int    e_ttl;
 };
 
 struct rmtabent {