* do non-blocking accept()
[citadel.git] / webcit / context_loop.c
index b693ff992676dd15632bdc45dcc9209fcfedf549..f37fa66762f0ba1c5f6a6fe0ba7352e67ab0681e 100644 (file)
@@ -37,6 +37,15 @@ void free_attachments(struct wcsession *sess) {
        }
 }
 
+
+void shutdown_sessions(void)
+{
+       struct wcsession *sptr;
+       
+       for (sptr = SessionList; sptr != NULL; sptr = sptr->next) {
+                       sptr->killthis = 1;
+       }
+}
 /**
  * \brief what??????
  */