common.h revision c3e30ffd8ac58854cc1162c33b4019a6d710b013
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina/* Disconnect client after idling this many seconds */
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina/* If we can't send anything to client for this long, disconnect the client */
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina/* Stop buffering more data into output stream after this many bytes */
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina/* Disconnect client when it sends too many bad commands in a row */
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina/* RFC-2683 recommends at least 8000 bytes. Some clients however don't
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina break large message sets to multiple commands, so we're pretty liberal
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březina by default. */
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březinaextern unsigned int max_keyword_length;
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březinaextern unsigned int imap_max_line_length;
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březinaextern enum client_workarounds client_workarounds;
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březinaextern const char *logout_format;
772199031f0ec687fa1fefd939206858c440e5a1Pavel Březinaextern void (*hook_client_created)(struct client **client);