summaryrefslogtreecommitdiff
path: root/module/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'module/conf.h')
-rw-r--r--module/conf.h6
1 files changed, 3 insertions, 3 deletions
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__ */