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;
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