summaryrefslogtreecommitdiff
path: root/src/c/fastcgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/fastcgi.c')
-rw-r--r--src/c/fastcgi.c21
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) {
+}