]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/exportfs.h
2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
[nfs-utils.git] / support / include / exportfs.h
index deb837c87c5b4bf9c7b7d23c5f7f6417c22bb4b7..10f38c797d8fe2e2152c77b4a6e586ece12ac2fe 100644 (file)
@@ -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);
@@ -77,4 +80,7 @@ int                           rmtab_read(void);
 
 struct nfskey *                        key_lookup(char *hname);
 
+/* Record export error.  */
+extern int export_errno;
+
 #endif /* EXPORTFS_H */