common.h revision 80bade1fe92cfb591a43da66e109a4cde2ec7d9b
a1607f6001a9949e1cf9d49eb0aa936dbb4c77ffTimo Sirainen/* Disconnect client after idling this many seconds */
cf7164ece50797a67fc4bfb5889022ac93a36a8aTimo Sirainen/* If we can't send anything to client for this long, disconnect the client */
cf7164ece50797a67fc4bfb5889022ac93a36a8aTimo Sirainen/* Stop buffering more data into output stream after this many bytes */
cf7164ece50797a67fc4bfb5889022ac93a36a8aTimo Sirainen/* Disconnect client when it sends too many bad commands in a row */
8e371a3ce32bd64288786855b8ce0cb63f19f7d1Timo Sirainen/* RFC-2683 recommends at least 8000 bytes. Some clients however don't
8e371a3ce32bd64288786855b8ce0cb63f19f7d1Timo Sirainen break large message sets to multiple commands, so we're pretty liberal
0df9428baed48afaff90b4d4f03792d2fd756a43Timo Sirainen by default. */
cf7164ece50797a67fc4bfb5889022ac93a36a8aTimo Sirainenextern unsigned int max_keyword_length;
cf7164ece50797a67fc4bfb5889022ac93a36a8aTimo Sirainenextern unsigned int imap_max_line_length;
8e371a3ce32bd64288786855b8ce0cb63f19f7d1Timo Sirainenextern enum client_workarounds client_workarounds;
cf7164ece50797a67fc4bfb5889022ac93a36a8aTimo Sirainenextern void (*hook_mail_storage_created)(struct mail_storage **storage);
cf7164ece50797a67fc4bfb5889022ac93a36a8aTimo Sirainenextern void (*hook_client_created)(struct client **client);