diff options
author | Steve Dickson <steved@redhat.com> | 2009-08-05 16:02:33 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-08-16 16:53:18 -0400 |
commit | 9350a97a266ada8d8b3282cf4248e3b9ffdc0058 (patch) | |
tree | 1fdc38243fc4b1d4a74c005b4dd5730db334aa26 /support/include | |
parent | c6a270ea8ab6ad299e6a43445420f22e0c617e3e (diff) | |
download | nfs-utils-9350a97a266ada8d8b3282cf4248e3b9ffdc0058.tar.gz nfs-utils-9350a97a266ada8d8b3282cf4248e3b9ffdc0058.tar.xz nfs-utils-9350a97a266ada8d8b3282cf4248e3b9ffdc0058.zip |
Added an conditional argument to the Section names
with the format being:
[ Section <"argument"> ]
This will help group similar functioning Section
together. The argument is conditional but must be
surrounded by the '"' characters.
The new conf_get_section() interface can used
to locate a Section by its Section name and/or
argument.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include')
-rw-r--r-- | support/include/conffile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/include/conffile.h b/support/include/conffile.h index 3309788..b263581 100644 --- a/support/include/conffile.h +++ b/support/include/conffile.h @@ -56,12 +56,12 @@ extern struct conf_list *conf_get_list(char *, char *); extern struct conf_list *conf_get_tag_list(char *); extern int conf_get_num(char *, char *, int); extern char *conf_get_str(char *, char *); +extern char *conf_get_section(char *, char *, char *); extern void conf_init(void); extern int conf_match_num(char *, char *, int); extern void conf_reinit(void); extern int conf_remove(int, char *, char *); extern int conf_remove_section(int, char *); -extern int conf_set(int, char *, char *, char *, int, int); extern void conf_report(void); #endif /* _CONFFILE_H_ */ |