From 6de9a0e56e9a6800e39a43cb04bc5e0045ff8790 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 8 Nov 2012 12:53:09 -0500 Subject: EMailAutoconfig: Restructure XML parsing. If we get a hit from the online database, parse the XML immediately and store the results in generic internal structs. Then when we're given an ESource to populate we can feed it the stored results instead of parsing the XML on demand (and repeatedly). What this is really doing is making room for other auto-configuration methods besides the online database lookup. --- mail/e-mail-autoconfig.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mail/e-mail-autoconfig.h') diff --git a/mail/e-mail-autoconfig.h b/mail/e-mail-autoconfig.h index b0cfb93b13..c59897c8b0 100644 --- a/mail/e-mail-autoconfig.h +++ b/mail/e-mail-autoconfig.h @@ -70,8 +70,6 @@ EMailAutoconfig * GError **error); const gchar * e_mail_autoconfig_get_email_address (EMailAutoconfig *autoconfig); -const gchar * e_mail_autoconfig_get_markup_content - (EMailAutoconfig *autoconfig); gboolean e_mail_autoconfig_set_imap_details (EMailAutoconfig *autoconfig, ESource *imap_source); @@ -81,6 +79,7 @@ gboolean e_mail_autoconfig_set_pop3_details gboolean e_mail_autoconfig_set_smtp_details (EMailAutoconfig *autoconfig, ESource *smtp_source); +void e_mail_autoconfig_dump_results (EMailAutoconfig *autoconfig); G_END_DECLS -- cgit v1.2.3