summaryrefslogtreecommitdiffstats
path: root/support/include/conffile.h
diff options
context:
space:
mode:
authorJustin Mitchell <jumitche@rehat.com>2017-06-02 10:48:24 -0400
committerSteve Dickson <steved@redhat.com>2017-06-06 10:28:59 -0400
commitbc89ecb3146539e8a0afbd24ea6529aa8c4df175 (patch)
tree67f3544a81bff4f38c3a888616fff1c11248f5fd /support/include/conffile.h
parent0276228a6f0ac390d3c3ed3502bb0d3ad73d093b (diff)
downloadnfs-utils-bc89ecb3146539e8a0afbd24ea6529aa8c4df175.tar.gz
nfs-utils-bc89ecb3146539e8a0afbd24ea6529aa8c4df175.tar.xz
nfs-utils-bc89ecb3146539e8a0afbd24ea6529aa8c4df175.zip
nfs.conf: Add function to cleanup and free the loaded config
Signed-off-by: Justin Mitchell <jumitche@rehat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/conffile.h')
-rw-r--r--support/include/conffile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/include/conffile.h b/support/include/conffile.h
index 20b1a32..2d11a52 100644
--- a/support/include/conffile.h
+++ b/support/include/conffile.h
@@ -60,6 +60,7 @@ extern _Bool conf_get_bool(char *, char *, _Bool);
extern char *conf_get_str(char *, char *);
extern char *conf_get_section(char *, char *, char *);
extern void conf_init(const char *);
+extern void conf_cleanup(void);
extern int conf_match_num(char *, char *, int);
extern int conf_remove(int, char *, char *);
extern int conf_remove_section(int, char *);