struct CitContext *next; /* Link to next session in the list */
int cs_pid; /* session ID */
- int dont_term; /* for special activities like artv so we don't get killed */
+ int dont_term; /* for special activities like artv so we don't get killed */
time_t lastcmd; /* time of last command executed */
time_t lastidle; /* For computing idle time */
CCState state; /* thread state (see CON_ values below) */
void *openid_data; /* Data stored by the OpenID module */
char *ldap_dn; /* DN of user when using AUTHMODE_LDAP */
-
void (*h_command_function) (void) ; /* service command function */
void (*h_async_function) (void) ; /* do async msgs function */
void (*h_greeting_function) (void) ; /* greeting function for session startup */
+
+ long *cached_msglist; /* results of the previous CtdlForEachMessage() */
+ int cached_num_msgs;
};
typedef struct CitContext CitContext;