X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fexportfs.h;h=9a19cbb68b7c13afeacfdd64b642d4506d8a5ccb;hp=470b2ec1cb74a0f4183ec326b9a95d48f5f10035;hb=5f722d8855ebcb2d041e182c8c69c8cbee4bf408;hpb=3b777b084a438f55482c8bf7508903ff4c30e1db diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 470b2ec..9a19cbb 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -69,17 +69,16 @@ extern exp_hash_table exportlist[MCL_MAXTYPES]; extern nfs_client * clientlist[MCL_MAXTYPES]; nfs_client * client_lookup(char *hname, int canonical); -nfs_client * client_find(struct hostent *); 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 *); -int client_match(nfs_client *, char *hname); 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 *);