-static const ProtocolInfo ProtocolAuthMap[] = {
- { MODEST_PROTOCOL_AUTH_NONE, "none", N_("None") },
- { MODEST_PROTOCOL_AUTH_PASSWORD, "password", N_("Password") },
- { MODEST_PROTOCOL_AUTH_CRAMMD5, "cram-md5", N_("Cram MD5") }
+static const ProtocolInfo ConnectionProtocolMap[] = {
+ { MODEST_PROTOCOL_CONNECTION_NORMAL, "none", N_("None") },
+ { MODEST_PROTOCOL_CONNECTION_SSL, "ssl", N_("SSL") },
+ { MODEST_PROTOCOL_CONNECTION_TLS, "tls", N_("TLS") },
+ { MODEST_PROTOCOL_CONNECTION_TLS_OP, "tls-op", N_("TLS when possible") }
+ /* op stands for optional */