X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fexportfs.h;h=10f38c797d8fe2e2152c77b4a6e586ece12ac2fe;hp=4021e6094eb68a81013320da43b0f8ae44c8dcb5;hb=a980156c122e975cc185a6c41ef705f166a5765f;hpb=0036a143c415eac6388d992a4e637e7004147296 diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 4021e60..10f38c7 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -19,6 +19,7 @@ enum { MCL_WILDCARD, MCL_NETGROUP, MCL_ANONYMOUS, + MCL_GSS, MCL_MAXTYPES }; @@ -54,13 +55,15 @@ 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 in_addr addr); +int client_member(char *client, char *name); int export_read(char *fname); void export_add(nfs_export *); void export_reset(nfs_export *); nfs_export * export_lookup(char *hname, char *path, int caconical); nfs_export * export_find(struct hostent *, char *path); -struct exportent * export_allowed(struct hostent *, char *path); +nfs_export * export_allowed(struct hostent *, char *path); nfs_export * export_create(struct exportent *, int canonical); nfs_export * export_dup(nfs_export *, struct hostent *); void export_freeall(void);