From af6b9f749f3f9ade3727bb0b43baffbdbd26cdcb Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Thu, 2 Jul 2009 19:22:33 -0400 Subject: Adding wrappers to free data in INI API. See ticket #37 in sssd track. --- common/ini/ini_config.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'common/ini/ini_config.h') diff --git a/common/ini/ini_config.h b/common/ini/ini_config.h index fdf354382..46e83d1c5 100644 --- a/common/ini/ini_config.h +++ b/common/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 */ -- cgit