X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-account-mgr-helpers.h;h=b09818e93aa694f26723894e30bc2f8a5db6db08;hb=0553c6bb55e67bd3451b3baeaa1c5d5334f859c5;hp=1c402242178b391150131ea7e14a0d6e9a32eacc;hpb=66390524cd133ecdbe9a4365c08d60fe7547b300;p=modest diff --git a/src/modest-account-mgr-helpers.h b/src/modest-account-mgr-helpers.h index 1c40224..b09818e 100644 --- a/src/modest-account-mgr-helpers.h +++ b/src/modest-account-mgr-helpers.h @@ -45,10 +45,10 @@ typedef struct { gchar *hostname; gchar *username; gchar *uri; /*< Only for mbox and maildir accounts. */ - ModestProtocol proto; /*< The store or transport. Not ORed. */ + ModestTransportStoreProtocol proto; /*< The store or transport. Not ORed. */ gchar *password; time_t last_updated; - gint port; /* Or 0, if the default should be used. */ + gint port; /* Or 0, if the default should be used. */ ModestAuthProtocol secure_auth; ModestConnectionProtocol security; } ModestServerAccountData; @@ -228,6 +228,14 @@ gboolean modest_account_mgr_remove_connection_specific_smtp (ModestAccountMgr *s const gchar* connection_name); /** + * modest_account_mgr_get_has_connection_specific_smtp + * @self: a ModestAccountMgr instance + * @name: the account name + * @result: Whether this account uses any connection-specific smtp server accounts. + */ +gboolean modest_account_mgr_get_has_connection_specific_smtp (ModestAccountMgr *self, const gchar* account_name); + +/** * modest_account_mgr_get_connection_specific_smtp * @self: a ModestAccountMgr instance * @name: the account name