imap-settings.h revision 86791365b10f45982c88e70f2eb94fd6c3fea151
2454dfa32c93c20a8522c6ed42fe057baaac9f9aStephan Bosch#ifndef IMAP_SETTINGS_H
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen#define IMAP_SETTINGS_H
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainen
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainenstruct mail_user_settings;
82995cc154a929f37aa486a72a6485e9f8d34a30Timo Sirainen
76a99afe0914951d20d96e0bf5e6d8d3ea3fd503Timo Sirainen/* <settings checks> */
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainenenum imap_client_workarounds {
bdd36cfdba3ff66d25570a9ff568d69e1eb543cfTimo Sirainen WORKAROUND_DELAY_NEWMAIL = 0x01,
76a99afe0914951d20d96e0bf5e6d8d3ea3fd503Timo Sirainen WORKAROUND_NETSCAPE_EOH = 0x04,
596ec384269cad3b0f0661df89b9cf33cbd171b7Timo Sirainen WORKAROUND_TB_EXTRA_MAILBOX_SEP = 0x08
666286d8ecc6c450b2232dcc628f79454215acfcTimo Sirainen};
2521fd0986302cdabc8b0711eef63ac188f32cd6Timo Sirainen/* </settings checks> */
b039dabf4c53f72454e795930e7643b6e0e625f9Timo Sirainen
1795e934ebcd58175d3b5bbdd811b13c7889efa3Timo Sirainenstruct imap_settings {
a35cbba04d0a2823da98e693bd09a051addffdb2Timo Sirainen bool mail_debug;
fa3fc0b4c821874ccc56a1512604f661b411d3a4Aki Tuomi
fa3fc0b4c821874ccc56a1512604f661b411d3a4Aki Tuomi /* imap: */
94e1adead9faddec88a623485b9999a87b1684faTimo Sirainen unsigned int imap_max_line_length;
503e5ef896c7b4a51cf73efb0d132860a8c747e6Timo Sirainen unsigned int imap_idle_notify_interval;
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen const char *imap_capability;
cb2b5a7d6e7e651191bf9ee1eda94a6e207288b0Timo Sirainen const char *imap_client_workarounds;
cb2b5a7d6e7e651191bf9ee1eda94a6e207288b0Timo Sirainen const char *imap_logout_format;
2521fd0986302cdabc8b0711eef63ac188f32cd6Timo Sirainen const char *imap_id_send;
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen const char *imap_id_log;
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainen
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainen enum imap_client_workarounds parsed_workarounds;
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainen};
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainen
55639052253ff28c6a0f569ae76dfda33e02c5f2Timo Sirainenextern struct setting_parser_info imap_setting_parser_info;
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen#endif
3ccfcf0856958cb9208a9fc51c3bdf13c58ad52aTimo Sirainen