]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/exportfs.h
libexport.a: Clean up client_add()
[nfs-utils.git] / support / include / exportfs.h
index 3eb03d980e1edbe50dbb4a3a1cd0ff703810a185..05891c55a3f82670dc5f2079c29a6ecbc5960957 100644 (file)
@@ -69,7 +69,6 @@ extern exp_hash_table exportlist[MCL_MAXTYPES];
 extern nfs_client *            clientlist[MCL_MAXTYPES];
 
 nfs_client *                   client_lookup(char *hname, int canonical);
-void                           client_add(nfs_client *);
 nfs_client *                   client_dup(nfs_client *, struct hostent *);
 int                            client_gettype(char *hname);
 int                            client_check(nfs_client *, struct hostent *);
@@ -77,7 +76,8 @@ void                          client_release(nfs_client *);
 void                           client_freeall(void);
 char *                         client_compose(struct hostent *he);
 struct hostent *               client_resolve(struct in_addr addr);
-int                            client_member(char *client, char *name);
+int                            client_member(const char *client,
+                                               const char *name);
 
 int                            export_read(char *fname);
 void                   export_add(nfs_export *);