diff options
author | Steve Dickson <steved@redhat.com> | 2009-10-17 09:16:18 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-10-22 15:34:20 -0400 |
commit | 2f61f62ac777cc03e30513f6fd3699f9e2f04e27 (patch) | |
tree | de0a18d8076179c77b6effd70bf49274879df89b /utils/mount/network.h | |
parent | f87ae8235ae6042c0e514ba03e4eee7782d5bc6e (diff) | |
download | nfs-utils-2f61f62ac777cc03e30513f6fd3699f9e2f04e27.tar.gz nfs-utils-2f61f62ac777cc03e30513f6fd3699f9e2f04e27.tar.xz nfs-utils-2f61f62ac777cc03e30513f6fd3699f9e2f04e27.zip |
Introducing the parsing of both 'defaultvers' and 'defaultproto'
config variables which will be used to set the the default
version and network protocol.
A global variable will be set for each option with the
corresponding value. The value will be used as the
initial value in the server negation.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/network.h')
-rw-r--r-- | utils/mount/network.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/mount/network.h b/utils/mount/network.h index 402e0a5..7eb89b0 100644 --- a/utils/mount/network.h +++ b/utils/mount/network.h @@ -57,6 +57,8 @@ int clnt_ping(struct sockaddr_in *, const unsigned long, struct mount_options; int nfs_nfs_version(struct mount_options *options, unsigned long *version); +int nfs_nfs_protocol(struct mount_options *options, unsigned long *protocol); + int nfs_options2pmap(struct mount_options *, struct pmap *, struct pmap *); |