diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-01-10 10:40:57 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-01-10 10:40:57 -0500 |
commit | e5358b34831d7a333c5883873af65d0cbacf5524 (patch) | |
tree | d909370696f5b261372fb59f1a17589605ceb6b7 /src/c/fastcgi.c | |
parent | a9f87e669faf36223c24f98f945616ab05aab8d5 (diff) |
Support for protocol-specific expunger dispatch
Diffstat (limited to 'src/c/fastcgi.c')
-rw-r--r-- | src/c/fastcgi.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/c/fastcgi.c b/src/c/fastcgi.c index b6b6e9a8..21f59c09 100644 --- a/src/c/fastcgi.c +++ b/src/c/fastcgi.c @@ -599,3 +599,24 @@ int main(int argc, char *argv[]) { uw_enqueue(new_fd); } } + +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) { +} |