diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-11-09 01:53:09 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-11-09 02:23:31 +0800 |
commit | 6de9a0e56e9a6800e39a43cb04bc5e0045ff8790 (patch) | |
tree | 9ef9a2a758c88ea176136d7c8ba461716f960685 /mail/e-mail-autoconfig.h | |
parent | 75595d233ba382dee053d70cf35e26b7eff3befa (diff) | |
download | gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar.gz gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar.bz2 gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar.lz gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar.xz gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar.zst gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.zip |
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.
Diffstat (limited to 'mail/e-mail-autoconfig.h')
-rw-r--r-- | mail/e-mail-autoconfig.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 |