summaryrefslogtreecommitdiffstatsabout
path: root/utility/database.h
diff options
context:
space:
mode:
authorEdward Rudd <urkle@outoforder.cc>2008-10-23 06:29:36 (GMT)
committer Edward Rudd <urkle@outoforder.cc>2008-10-23 06:29:36 (GMT)
commitaed9f10440d8789f99919c3a6f91e8d76bbc44dc (patch)
tree2560bad5b4959cddc090916e8e522b37ce74df75 /utility/database.h
parent0ddd719a72469f732a881c93d4c804e9aca787fe (diff)
more parsing implementation (Custom functions)
initial DB inserting (w/ prepared query)
Diffstat (limited to 'utility/database.h')
-rw-r--r--utility/database.h12
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
8void database_init(apr_pool_t *p);
9
10apr_status_t database_connect(config_t *cfg);
11
12apr_status_t database_disconnect(config_t *cfg);
13
14apr_status_t database_insert(config_t *cfg, apr_pool_t *p, apr_table_t *data);
15
4#endif /*DATABASE_H_*/ 16#endif /*DATABASE_H_*/