extern string_t *capability_string;
+extern void (*hook_mail_storage_created)(struct mail_storage *storage);
+extern void (*hook_client_created)(struct client *client);
+
#endif
static struct module *modules;
static char log_prefix[128]; /* syslog() needs this to be permanent */
+void (*hook_mail_storage_created)(struct mail_storage *storage) = NULL;
+void (*hook_client_created)(struct client *client) = NULL;
+
string_t *capability_string;
static void sig_quit(int signo __attr_unused__)
}
}
+ if (hook_mail_storage_created != NULL)
+ hook_mail_storage_created(storage);
+
str = getenv("IMAP_MAX_LINE_LENGTH");
imap_max_line_length = str != NULL ?
(unsigned int)strtoul(str, NULL, 10) :