X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcontext.h;h=ecf08a0adb84bb010e7e4307bd97a67195670554;hb=deb65694d70e9c17749ffcb3d072bb8a24c351cb;hp=3754a20be3d28e2f005cb7fc835a5fcd34d8d660;hpb=390901bcc3d171cc42fe259d8a8e55687efbdf4f;p=citadel.git diff --git a/citadel/context.h b/citadel/context.h index 3754a20be..ecf08a0ad 100644 --- a/citadel/context.h +++ b/citadel/context.h @@ -150,5 +150,10 @@ void dead_session_purge(int force); void BumpNewMailCounter(long) __attribute__ ((deprecated)); void terminate_idle_sessions(void); - +int CtdlTerminateOtherSession (int session_num); +/* bits returned by CtdlTerminateOtherSession */ +#define TERM_FOUND 0x01 +#define TERM_ALLOWED 0x02 +#define TERM_KILLED 0x03 +#define TERM_NOTALLOWED -1 #endif /* CONTEXT_H */