modest_protocol_info_get_transport_store_protocol_pair_list ();
/**
+ * modest_protocol_info_get_supported_store_protocol_pair_list:
+ *
+ * return the list of <protocol,display-name>-tuples of
+ * store protocols.
+ * The elements of the returned list are ModestPairs
+ * This is a convenience function for use with ModestComboBox
+ *
+ * In this case it only returns the UI exposed protocols for
+ * storage (IMAP, POP3).
+ *
+ * Returns: a list of protocols. After use, it should be freed
+ * with modest_pair_list_free
+ */
+ModestPairList*
+modest_protocol_info_get_supported_store_protocol_pair_list ();
+
+/**
* modest_protocol_info_get_auth_protocol_pair_list:
*
* return the list of <protocol,display-name>-tupels of protocols.
* Returns: a list of protocols. After use, it should be freed
* with modest_pair_list_free
*/
-ModestPairList*
-modest_protocol_info_get_auth_protocol_pair_list ();
+ModestPairList* modest_protocol_info_get_auth_protocol_pair_list (void);
/**
* Returns: a list of protocols. After use, it should be freed
* with modest_pair_list_free
*/
-ModestPairList*
-modest_protocol_info_get_connection_protocol_pair_list ();
+ModestPairList* modest_protocol_info_get_connection_protocol_pair_list (void);
/**
*
* Returns: the id of the protocol or MODEST_PROTOCOL_TRANSPORT_STORE_UNKNOWN
*/
-ModestTransportStoreProtocol
-modest_protocol_info_get_transport_store_protocol (const gchar* name);
+ModestTransportStoreProtocol modest_protocol_info_get_transport_store_protocol (const gchar* name);
/**
* modest_protocol_info_get_auth_protocol:
*
* Returns: The ID of the protocol or MODEST_PROTOCOL_AUTH_NONE
*/
-ModestAuthProtocol
-modest_protocol_info_get_auth_protocol (const gchar* name);
+ModestAuthProtocol modest_protocol_info_get_auth_protocol (const gchar* name);
+
+/**
+ * modest_protocol_info_get_connection_protocol:
+ * @name: The name of the #ModestConnectionProtocol
+ *
+ * Returns the ID of the protocol with the given name
+ *
+ * Returns: The ID of the protocol or MODEST_CONNECTION_PROTOCOL_NORMAL
+ */
+ModestConnectionProtocol modest_protocol_info_get_connection_protocol (const gchar* name);
/**
* modest_protocol_info_get_transport_store_protocol_name:
*
* Returns: string id of the proto as a constant string, that should NOT be modified or freed
*/
-const gchar*
-modest_protocol_info_get_transport_store_protocol_name (ModestTransportStoreProtocol proto);
+const gchar* modest_protocol_info_get_transport_store_protocol_name (ModestTransportStoreProtocol proto);
/**
* modest_protocol_info_get_auth_protocol_name:
*
* Returns: string id of the proto as a constant string, that should NOT be modified or freed
*/
-const gchar*
-modest_protocol_info_get_auth_protocol_name (ModestAuthProtocol proto);
+const gchar* modest_protocol_info_get_auth_protocol_name (ModestAuthProtocol proto);
/*
* modest_protocol_get_auth_protocol_pair_list:
*
* Returns: List of method/display name pairs
*/
-
-ModestPairList*
-modest_protocol_info_get_auth_protocol_pair_list ();
+ModestPairList* modest_protocol_info_get_auth_protocol_pair_list (void);
/**
* modest_protocol_info_get_auth_protocol_name: