summaryrefslogtreecommitdiff
path: root/conf.h
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2011-07-26 22:10:17 +0200
committerJoel Rosdahl <joel@rosdahl.net>2011-07-29 17:15:52 +0200
commitff068ce709f70e6cff8439c861f6c55c0ba55a33 (patch)
treecdd9d33aadb75c7f6644ee7941a4ccbcb70fa9a6 /conf.h
parent165fa068c8ba496d5173feb0b98148564580d8aa (diff)
downloadccache-ff068ce709f70e6cff8439c861f6c55c0ba55a33.tar.gz
config: Add conf_print_items function
Diffstat (limited to 'conf.h')
-rw-r--r--conf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.h b/conf.h
index 79c83144..d6fef70e 100644
--- a/conf.h
+++ b/conf.h
@@ -38,5 +38,8 @@ bool conf_read(struct conf *conf, const char *path, char **errmsg);
bool conf_update_from_environment(struct conf *conf, char **errmsg);
bool conf_set_value_in_file(const char *path, const char *key,
const char *value, char **errmsg);
+bool conf_print_items(struct conf *conf,
+ void(*printer)(const char *s, void *context),
+ void *context);
#endif