summaryrefslogtreecommitdiffstats
path: root/ini/ini_config.h
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-07-02 19:22:33 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-07-02 20:02:34 -0400
commit93ddfbe39c99c9d4a1b4c0b75c1e657c64c883b8 (patch)
tree8368d89ffecfd44bbd6ce7af6c0cd0c9d0095473 /ini/ini_config.h
parent767ce0e4fdc9dee525561314311a461e77883b9b (diff)
downloadding-libs-93ddfbe39c99c9d4a1b4c0b75c1e657c64c883b8.tar.gz
ding-libs-93ddfbe39c99c9d4a1b4c0b75c1e657c64c883b8.tar.xz
ding-libs-93ddfbe39c99c9d4a1b4c0b75c1e657c64c883b8.zip
Adding wrappers to free data in INI API.
See ticket #37 in sssd track.
Diffstat (limited to 'ini/ini_config.h')
-rw-r--r--ini/ini_config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ini/ini_config.h b/ini/ini_config.h
index fdf3543..46e83d1 100644
--- a/ini/ini_config.h
+++ b/ini/ini_config.h
@@ -122,6 +122,15 @@ int config_for_app(const char *application, /* Name of the applica
int error_level, /* Level of error tolerance */
struct collection_item **error_set); /* Collection of collections of parsing errors */
+/* Function to free configuration */
+void free_ini_config(struct collection_item *ini_config);
+
+/* Function to free configuration error list */
+void free_ini_config_errors(struct collection_item *error_set);
+
+/* Function to free configuration line list */
+void free_ini_config_lines(struct collection_item *lines);
+
/* Print errors and warnings that were detected while parsing one file */
/* Use this function to print results of the config_from_file() call */
void print_file_parsing_errors(FILE *file, /* File to send errors to */