]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mountd/mountd.h
mountd: add trivial helpers for client-matching
[nfs-utils.git] / utils / mountd / mountd.h
index 4c184d20d6c7422920879059414c2c24321a7075..c969a27ca18e48c23625701f749a716e5a4e4d90 100644 (file)
@@ -56,4 +56,8 @@ struct nfs_fh_len *
                cache_get_filehandle(nfs_export *exp, int len, char *p);
 int            cache_export(nfs_export *exp, char *path);
 
+bool ipaddr_client_matches(nfs_export *exp, struct addrinfo *ai);
+bool namelist_client_matches(nfs_export *exp, char *dom);
+bool client_matches(nfs_export *exp, char *dom, struct addrinfo *ai);
+
 #endif /* MOUNTD_H */