summaryrefslogtreecommitdiff
path: root/module/conf.h
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-01-30 08:26:23 -0600
committerStef Walter <stefw@collabora.co.uk>2011-01-30 08:26:23 -0600
commit14dfb79ca65dd80e117103c4f8852ae2b4a419a0 (patch)
tree2b568bac82b2dae2299e9030686b7f5c78da7c3d /module/conf.h
parent4375e297b19bc2177e17cc5616e75d96be053328 (diff)
Configuration tests.
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__ */