diff options
Diffstat (limited to 'utility/database.h')
-rw-r--r-- | utility/database.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/utility/database.h b/utility/database.h index 9fc4844..fd24994 100644 --- a/utility/database.h +++ b/utility/database.h | |||
@@ -1,4 +1,16 @@ | |||
1 | #ifndef DATABASE_H_ | 1 | #ifndef DATABASE_H_ |
2 | #define DATABASE_H_ | 2 | #define DATABASE_H_ |
3 | 3 | ||
4 | #include "apr_pools.h" | ||
5 | |||
6 | #include "config.h" | ||
7 | |||
8 | void database_init(apr_pool_t *p); | ||
9 | |||
10 | apr_status_t database_connect(config_t *cfg); | ||
11 | |||
12 | apr_status_t database_disconnect(config_t *cfg); | ||
13 | |||
14 | apr_status_t database_insert(config_t *cfg, apr_pool_t *p, apr_table_t *data); | ||
15 | |||
4 | #endif /*DATABASE_H_*/ | 16 | #endif /*DATABASE_H_*/ |