#include "control.h"
#include "config.h"
-int DebugSession = 0;
-
pthread_key_t MyConKey; /* TSD key for MyContext() */
-
-
CitContext masterCC;
CitContext *ContextList = NULL;
-
time_t last_purge = 0; /* Last dead session purge */
int num_sessions = 0; /* Current number of sessions */
int next_pid = 0;
}
-void DebugSessionEnable(const int n)
-{
- DebugSession = n;
-}
CTDL_MODULE_INIT(session)
{
if (!threading) {
- CtdlRegisterDebugFlagHook(HKEY("session"), DebugSessionEnable, &DebugSession);
}
return "session";
}