blob: c67cf9ceb9efacd83c31283959fecb6f1ca3dfd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef UTIL_H_
#define UTIL_H_
#include "apr_pools.h"
#include "config.h"
char *lowerstr(apr_pool_t *pool, const char *input);
/**
* Chomp new line characters off the end of the line
*/
void line_chomp(char *str);
void logging_init(config_t *cfg);
void logging_log(config_t *cfg, loglevel_e level, const char *fmt, ...)
__attribute__((format(printf, 3, 4)));
const char *logging_strerror(apr_status_t rv);
#endif /*UTIL_H_*/
|