const gchar* name);
/**
+ * modest_account_mgr_remove_account:
+ * @self: a ModestAccountMgr instance
+ * @name: the name of the server account to remove
+ *
+ * remove an existing server account. This is only for internal use.
+ *
+ * Returns: TRUE if the operation succeeded, FALSE otherwise,
+ */
+gboolean modest_account_mgr_remove_server_account (ModestAccountMgr *self,
+ const gchar* name);
+
+/**
* modest_account_mgr_account_names:
* @self: a ModestAccountMgr instance
* @only_enabled: Whether only enabled accounts should be returned.
const gchar *account_name,
const gchar *display_name);
+gboolean modest_account_mgr_singleton_protocol_exists (ModestAccountMgr *mgr,
+ ModestProtocolType protocol_type);
G_END_DECLS