diff options
author | Edward Rudd <urkle@outoforder.cc> | 2008-10-24 13:55:48 (GMT) |
---|---|---|
committer | Edward Rudd <urkle@outoforder.cc> | 2008-10-24 13:55:48 (GMT) |
commit | 19bbdd68a491721dd4aeff7cacea51148ce3a9b9 (patch) | |
tree | 4e143a77f879f7baf65797c08a4e3a489b4ac755 /utility/util.h | |
parent | 50af087b9f3831285869dc8d8bf91cc3e6d5169a (diff) |
add logging function
added @todo tags for what needs to be finished
Diffstat (limited to 'utility/util.h')
-rw-r--r-- | utility/util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utility/util.h b/utility/util.h index 8c48474..9e3aed3 100644 --- a/utility/util.h +++ b/utility/util.h | |||
@@ -3,6 +3,8 @@ | |||
3 | 3 | ||
4 | #include "apr_pools.h" | 4 | #include "apr_pools.h" |
5 | 5 | ||
6 | #include "config.h" | ||
7 | |||
6 | char *lowerstr(apr_pool_t *pool, const char *input); | 8 | char *lowerstr(apr_pool_t *pool, const char *input); |
7 | 9 | ||
8 | /** | 10 | /** |
@@ -10,4 +12,9 @@ char *lowerstr(apr_pool_t *pool, const char *input); | |||
10 | */ | 12 | */ |
11 | void line_chomp(char *str); | 13 | void line_chomp(char *str); |
12 | 14 | ||
15 | void logging_init(config_t *cfg); | ||
16 | |||
17 | void logging_log(config_t *cfg, loglevel_e level, const char *fmt, ...) | ||
18 | __attribute__((format(printf, 3, 4))); | ||
19 | |||
13 | #endif /*UTIL_H_*/ | 20 | #endif /*UTIL_H_*/ |