X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Fexportfs.h;h=deb837c87c5b4bf9c7b7d23c5f7f6417c22bb4b7;hp=3ca248e0ee4f86eed8a29e24aa1aa8d29742e8ef;hb=refs%2Ftags%2Fnfs-utils-0-3-2-pre9;hpb=4d961554071d2308017062c8bc39f37f5de55b5f 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 *);