-/* $Id: sysdep_decls.h 7265 2009-03-25 23:18:46Z dothebart $ */
#ifndef CONTEXT_H
#define CONTEXT_H
int state; /* thread state (see CON_ values below) */
int kill_me; /* Set to nonzero to flag for termination */
- StrBuf *lBuf;
-
const char *Pos; /* Our read position inside of the ReadBuf */
StrBuf *ReadBuf; /* Our block buffered read buffer */
StrBuf *MigrateBuf; /* Our block buffered read buffer */
void dead_session_purge(int force);
void set_async_waiting(struct CitContext *ccptr);
+/* forcibly close and flush fd's on shutdown */
+void terminate_stuck_sessions(void);
+
/* Deprecated, user CtdlBumpNewMailCounter() instead */
void BumpNewMailCounter(long) __attribute__ ((deprecated));