summaryrefslogtreecommitdiffstats
path: root/utils/mountd/mountd.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-09-16 13:39:39 -0400
committerSteve Dickson <steved@redhat.com>2010-09-16 14:33:51 -0400
commitf35762f959cc5f29ad7817f8b7968e3792132651 (patch)
tree7cc701e28e996048338da2c7e857d4801bad370d /utils/mountd/mountd.h
parent29b8a7700129d9768e3e2d94c81eec9f84ba8691 (diff)
downloadnfs-utils-f35762f959cc5f29ad7817f8b7968e3792132651.tar.gz
nfs-utils-f35762f959cc5f29ad7817f8b7968e3792132651.tar.xz
nfs-utils-f35762f959cc5f29ad7817f8b7968e3792132651.zip
mountd: add IPv6 support in auth_authenticate()
Make the entire auth_authenticate() code path address-family agnostic. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mountd/mountd.h')
-rw-r--r--utils/mountd/mountd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/mountd/mountd.h b/utils/mountd/mountd.h
index 31bacb5..96e9bf1 100644
--- a/utils/mountd/mountd.h
+++ b/utils/mountd/mountd.h
@@ -41,8 +41,9 @@ bool_t mount_mnt_3_svc(struct svc_req *, dirpath *, mountres3 *);
void mount_dispatch(struct svc_req *, SVCXPRT *);
void auth_init(char *export_file);
unsigned int auth_reload(void);
-nfs_export * auth_authenticate(char *what, struct sockaddr_in *sin,
- char *path);
+nfs_export * auth_authenticate(const char *what,
+ const struct sockaddr *caller,
+ const char *path);
void auth_export(nfs_export *exp);
void mountlist_add(char *host, const char *path);