summaryrefslogtreecommitdiffstats
path: root/common/ini/ini_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/ini/ini_parse.h')
-rw-r--r--common/ini/ini_parse.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/common/ini/ini_parse.h b/common/ini/ini_parse.h
index 56a0db9..7eb9fdc 100644
--- a/common/ini/ini_parse.h
+++ b/common/ini/ini_parse.h
@@ -23,6 +23,8 @@
#define INI_PARSE_H
#include <stdio.h>
+#include "collection.h"
+#include "ini_configobj.h"
/* Internal function to read line from INI file */
int read_line(FILE *file,
@@ -33,4 +35,19 @@ int read_line(FILE *file,
int *length,
int *ext_error);
+/*************************************************************************/
+/* THIS INTERFACE WILL CHANGE WHEN THE FILE CONTEXT OBJECT IS INTRODUCED */
+/*************************************************************************/
+/* NOTE: Consider moving the boundary into the config object rather than
+ * have it as a part of the parser - TBD.
+ */
+
+/* Parse a configration file */
+int ini_parse_config(FILE *file,
+ const char *config_filename,
+ struct configobj *ini_config,
+ int error_level,
+ struct collection_item **error_list,
+ uint32_t boundary);
+
#endif