diff options
author | 2010-01-10 10:40:57 -0500 | |
---|---|---|
committer | 2010-01-10 10:40:57 -0500 | |
commit | b9fd5b30dab83e12206e4b260e1ea775da7cedde (patch) | |
tree | d909370696f5b261372fb59f1a17589605ceb6b7 /src/c/cgi.c | |
parent | 197d67717d69dcacf68fda05c8bdd19591c51b88 (diff) |
Support for protocol-specific expunger dispatch
Diffstat (limited to 'src/c/cgi.c')
-rw-r--r-- | src/c/cgi.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/c/cgi.c b/src/c/cgi.c index 1d7d9810..91b22f06 100644 --- a/src/c/cgi.c +++ b/src/c/cgi.c @@ -114,3 +114,24 @@ int main(int argc, char *argv[]) { else return 1; } + +void *uw_init_client_data() { + return NULL; +} + +void uw_free_client_data(void *data) { +} + +void uw_copy_client_data(void *dst, void *src) { +} + +void uw_do_expunge(uw_context ctx, uw_Basis_client cli, void *data) { + if (uw_get_app(ctx)->db_begin(ctx)) + uw_error(ctx, FATAL, "Error running SQL BEGIN"); + uw_get_app(ctx)->expunger(ctx, cli); + if (uw_get_app(ctx)->db_commit(ctx)) + uw_error(ctx, FATAL, "Error running SQL COMMIT"); +} + +void uw_post_expunge(uw_context ctx, void *data) { +} |