summaryrefslogtreecommitdiff
path: root/src/c/urweb.c
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-01-05 14:57:35 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-01-05 14:57:35 -0500
commit4e8b9e17f5fa9919b5a09bbf8a0a61828a54b7d4 (patch)
treee69e9afa2b99f1e16fd765a613eacbcf647572df /src/c/urweb.c
parenta8e75fe5a1971693be065e13eecd5dc9b9fa9773 (diff)
uw_close()
Diffstat (limited to 'src/c/urweb.c')
-rw-r--r--src/c/urweb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c
index fccb1756..f52fc459 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -578,6 +578,10 @@ failure_kind uw_begin_init(uw_context ctx) {
return r;
}
+void uw_close(uw_context ctx) {
+ ctx->app->db_close(ctx);
+}
+
void uw_set_headers(uw_context ctx, char *(*get_header)(void *, const char *), void *get_header_data) {
ctx->get_header = get_header;
ctx->get_header_data = get_header_data;