summaryrefslogtreecommitdiffstatsabout
path: root/utility/util.h
diff options
context:
space:
mode:
authorEdward Rudd <urkle@outoforder.cc>2008-10-24 13:55:48 (GMT)
committer Edward Rudd <urkle@outoforder.cc>2008-10-24 13:55:48 (GMT)
commit19bbdd68a491721dd4aeff7cacea51148ce3a9b9 (patch)
tree4e143a77f879f7baf65797c08a4e3a489b4ac755 /utility/util.h
parent50af087b9f3831285869dc8d8bf91cc3e6d5169a (diff)
add logging function
added @todo tags for what needs to be finished
Diffstat (limited to 'utility/util.h')
-rw-r--r--utility/util.h7
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
6char *lowerstr(apr_pool_t *pool, const char *input); 8char *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 */
11void line_chomp(char *str); 13void line_chomp(char *str);
12 14
15void logging_init(config_t *cfg);
16
17void 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_*/