diff options
Diffstat (limited to 'utility/database.h')
-rw-r--r-- | utility/database.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/utility/database.h b/utility/database.h index eed8898..9797d51 100644 --- a/utility/database.h +++ b/utility/database.h | |||
@@ -7,16 +7,19 @@ | |||
7 | 7 | ||
8 | void database_init(apr_pool_t *p); | 8 | void database_init(apr_pool_t *p); |
9 | 9 | ||
10 | apr_status_t database_connect(config_t *cfg); | 10 | apr_status_t database_connect(config_t *cfg, config_dbd_t **dbconn); |
11 | 11 | ||
12 | apr_status_t database_disconnect(config_t *cfg); | 12 | apr_status_t database_disconnect(config_dbd_t *dbconn); |
13 | 13 | ||
14 | apr_status_t database_insert(config_t *cfg, apr_pool_t *p, apr_table_t *data); | 14 | apr_status_t database_insert(config_t *cfg, config_dbd_t *dbconn, |
15 | apr_pool_t *p, apr_table_t *data); | ||
15 | 16 | ||
16 | apr_status_t database_trans_start(config_t *cfg, apr_pool_t *p); | 17 | apr_status_t database_trans_start(config_t *cfg, config_dbd_t *dbconn, |
18 | apr_pool_t *p); | ||
17 | 19 | ||
18 | apr_status_t database_trans_stop(config_t *cfg, apr_pool_t *p); | 20 | apr_status_t database_trans_stop(config_t *cfg, config_dbd_t *dbconn, |
21 | apr_pool_t *p); | ||
19 | 22 | ||
20 | apr_status_t database_trans_abort(config_t *cfg); | 23 | apr_status_t database_trans_abort(config_t *cfg, config_dbd_t *dbconn); |
21 | 24 | ||
22 | #endif /*DATABASE_H_*/ | 25 | #endif /*DATABASE_H_*/ |