X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-protocol-info.h;h=c7f2e246a234bf5029fbd51af33bf77ee8eae203;hb=dd2ffe39b09e8248b2fe83162559d2e03c818a1a;hp=9ddc12b898604c6df53c589e91ddc980188b4f64;hpb=5d50cd32592c4b11955589126a2017e7048e508c;p=modest diff --git a/src/modest-protocol-info.h b/src/modest-protocol-info.h index 9ddc12b..c7f2e24 100644 --- a/src/modest-protocol-info.h +++ b/src/modest-protocol-info.h @@ -125,6 +125,16 @@ ModestTransportStoreProtocol modest_protocol_info_get_transport_store_protocol ( 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: * @proto: the protocol you are looking for *