/**
* modest_protocol_info_get_transport_store_protocol:
- * @name: the name of the ModestTransportStoreProtocol
- * @proto_type: the type of protocol you want to have
+ * @name: the name of the #ModestTransportStoreProtocol
*
* return the id of the protocol with the given name
*
modest_protocol_info_get_transport_store_protocol (const gchar* name);
/**
+ * modest_protocol_info_get_auth_protocol:
+ * @name: The name of the #ModestAuthProtocol
+ *
+ * Returns the ID of the protocol with the given name
+ *
+ * Returns: The ID of the protocol or MODEST_PROTOCOL_AUTH_NONE
+ */
+ModestAuthProtocol
+modest_protocol_info_get_auth_protocol (const gchar* name);
+
+/**
* modest_protocol_info_get_transport_store_protocol_name:
* @proto: the protocol you are looking for
*
gboolean modest_protocol_info_protocol_is_local_store (ModestTransportStoreProtocol proto);
+/**
+ * modest_protocol_info_is_secure:
+ * @protocol
+ *
+ * is the protocol connection secure (e.g encrypted)?
+ *
+ * Returns: TRUE if it is secure, FALSE otherwise
+ *
+ */
+gboolean modest_protocol_info_is_secure(ModestConnectionProtocol protocol);
+
+/**
+ * modest_protocol_info_auth_is_secure:
+ * @protocol
+ *
+ * is the protocol authentication secure (e.g encrypted)?
+ *
+ * Returns: TRUE if it is secure, FALSE otherwise
+ *
+ */
+gboolean modest_protocol_info_auth_is_secure(ModestAuthProtocol protocol);
+
+
G_END_DECLS
#endif /* __MODEST_PROTOCOL_INFO_H__ */