summaryrefslogtreecommitdiffstats
path: root/support/include/exportfs.h
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2001-09-20 00:37:14 +0000
committerneilbrown <neilbrown>2001-09-20 00:37:14 +0000
commit37e49789ab1cd849def25ba4c4d97ccdb11d1e61 (patch)
tree02cc907f825027f604aa27a8e59a8f7e0100b866 /support/include/exportfs.h
parent4d961554071d2308017062c8bc39f37f5de55b5f (diff)
downloadnfs-utils-37e49789ab1cd849def25ba4c4d97ccdb11d1e61.tar.gz
nfs-utils-37e49789ab1cd849def25ba4c4d97ccdb11d1e61.tar.xz
nfs-utils-37e49789ab1cd849def25ba4c4d97ccdb11d1e61.zip
make "exportfs -au" do no DNS lookup
Diffstat (limited to 'support/include/exportfs.h')
-rw-r--r--support/include/exportfs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/include/exportfs.h b/support/include/exportfs.h
index 3ca248e..deb837c 100644
--- a/support/include/exportfs.h
+++ b/support/include/exportfs.h
@@ -45,7 +45,7 @@ typedef struct mexport {
extern nfs_client * clientlist[MCL_MAXTYPES];
extern nfs_export * exportlist[MCL_MAXTYPES];
-nfs_client * client_lookup(char *hname);
+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 *);
@@ -58,10 +58,10 @@ void client_freeall(void);
int export_read(char *fname);
void export_add(nfs_export *);
void export_reset(nfs_export *);
-nfs_export * export_lookup(char *hname, char *path);
+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_create(struct exportent *);
+nfs_export * export_create(struct exportent *, int canonical);
nfs_export * export_dup(nfs_export *, struct hostent *);
void export_freeall(void);
int export_export(nfs_export *);