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 /support/include | |
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 'support/include')
-rw-r--r-- | support/include/conffile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/support/include/conffile.h b/support/include/conffile.h index 672020a..fe23ec2 100644 --- a/support/include/conffile.h +++ b/support/include/conffile.h @@ -75,4 +75,11 @@ static inline void upper2lower(char *str) while ((c = tolower(*str))) *str++ = c; } + +/* + * Default Mount options + */ +extern unsigned long config_default_vers; +extern unsigned long config_default_proto; + #endif /* _CONFFILE_H_ */ |