X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fexportfs.h;h=5960febf2c997fbd5b6f4c9e50928b6e096d4365;hp=01e87ddc289252e818f50ab375d9fc25969a8c9f;hb=62ee38804c60c5875ce3c78674419ee137deb8db;hpb=73840ef610accf4cf667427bc64805377c0d8394 diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 01e87dd..5960feb 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; @@ -137,6 +141,7 @@ nfs_export * export_find(const struct addrinfo *ai, nfs_export * export_allowed(const struct addrinfo *ai, const char *path); nfs_export * export_create(struct exportent *, int canonical); +void exportent_release(struct exportent *); void export_freeall(void); int export_export(nfs_export *); int export_unexport(nfs_export *);