* src/widgets/modest-folder-view.c:
[modest] / src / modest-protocol-info.h
index c358d1d..77f16d9 100644 (file)
@@ -108,8 +108,7 @@ modest_protocol_info_get_connection_protocol_pair_list ();
        
 /**
  * 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
  *  
@@ -119,6 +118,17 @@ ModestTransportStoreProtocol
 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
  *