From 14dfb79ca65dd80e117103c4f8852ae2b4a419a0 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 30 Jan 2011 08:26:23 -0600 Subject: Configuration tests. --- module/conf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/conf.h') diff --git a/module/conf.h b/module/conf.h index 2a9e2f3..84138d2 100644 --- a/module/conf.h +++ b/module/conf.h @@ -42,10 +42,10 @@ enum { CONF_IGNORE_MISSING = 0x01, }; -extern void conf_error (const char *filename, - const char *message); +typedef void (*conf_error_func) (const char *message); hash_t* conf_parse_file (const char *filename, - int flags); + int flags, + conf_error_func error_func); #endif /* __CONF_H__ */ -- cgit v1.2.3