diff options
author | Edward Rudd <urkle@outoforder.cc> | 2008-10-22 12:40:58 (GMT) |
---|---|---|
committer | Edward Rudd <urkle@outoforder.cc> | 2008-10-22 12:40:58 (GMT) |
commit | 0ddd719a72469f732a881c93d4c804e9aca787fe (patch) | |
tree | e05821ff5a6ad0f00d63f23090ce4f2ec19bef75 /utility/util.h | |
parent | cc75ebf7e8560a69a6847f0260cce4772fff440a (diff) |
added more config options
included PCRE wrapper from httpd
more complete log parser code.
fixed NASTY bug with setting values in the hash tables (Need to DUP the strings before setting the keys)
Diffstat (limited to 'utility/util.h')
-rw-r--r-- | utility/util.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/utility/util.h b/utility/util.h new file mode 100644 index 0000000..8c48474 --- /dev/null +++ b/utility/util.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef UTIL_H_ | ||
2 | #define UTIL_H_ | ||
3 | |||
4 | #include "apr_pools.h" | ||
5 | |||
6 | char *lowerstr(apr_pool_t *pool, const char *input); | ||
7 | |||
8 | /** | ||
9 | * Chomp new line characters off the end of the line | ||
10 | */ | ||
11 | void line_chomp(char *str); | ||
12 | |||
13 | #endif /*UTIL_H_*/ | ||