]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/exportfs.h
libexport.a: Clean up client_compose() and client_member()
[nfs-utils.git] / support / include / exportfs.h
index a5cf482584af668e5f8a847909ec7e827a747705..9a19cbb68b7c13afeacfdd64b642d4506d8a5ccb 100644 (file)
@@ -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 *);
@@ -99,10 +98,19 @@ int                         xtab_mount_write(void);
 int                            xtab_export_write(void);
 void                           xtab_append(nfs_export *);
 
+int                            secinfo_addflavor(struct flav_info *, struct exportent *);
+
 int                            rmtab_read(void);
 
 struct nfskey *                        key_lookup(char *hname);
 
+struct export_features {
+       unsigned int flags;
+       unsigned int secinfo_flags;
+};
+
+struct export_features *get_export_features(void);
+
 /* Record export error.  */
 extern int export_errno;