}
}
+void imap_cleanup(void)
+{
+ DeleteHash(&ImapCmds);
+}
+
const imap_handler_hook *imap_lookup(int num_parms, ConstStr *Params)
{
void *v;
NULL, imaps_greeting, imap_command_loop, NULL, CitadelServiceIMAPS);
#endif
CtdlRegisterSessionHook(imap_cleanup_function, EVT_STOP);
+ CtdlRegisterCleanupHook(imap_cleanup);
}
/* return our Subversion id for the Log */