-static const ProtocolInfo ProtocolSecurityMap[] = {
- { MODEST_PROTOCOL_SECURITY_NONE, "none", N_("None") },
- { MODEST_PROTOCOL_SECURITY_SSL, "ssl", N_("SSL") },
- { MODEST_PROTOCOL_SECURITY_TLS, "tls", N_("TLS") },
- { MODEST_PROTOCOL_SECURITY_TLS_OP, "tls-op", N_("TLS when possible") } /* op stands for optional */
+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 */