diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-01-05 14:57:35 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-01-05 14:57:35 -0500 |
commit | b47fbe59f61f0caca02e370c983f12a1ff3bf6d0 (patch) | |
tree | e69e9afa2b99f1e16fd765a613eacbcf647572df /src | |
parent | 17c13c4ba62fa3c8d5c438b2256190de28d40b5f (diff) |
uw_close()
Diffstat (limited to 'src')
-rw-r--r-- | src/c/urweb.c | 4 |
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; |