diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-09-26 08:42:38 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-09-26 21:45:55 +0800 |
commit | 9773f0a3b8ed4a058d4cd28d0bc4060dbe43da19 (patch) | |
tree | a7c2a01bbf11bce97cde8d5fdc0ecf518f67e4b2 /mail/em-utils.h | |
parent | e384255d8f999bd77fb7ccee5e57c30b54ea5a56 (diff) | |
download | gsoc2013-evolution-9773f0a3b8ed4a058d4cd28d0bc4060dbe43da19.tar.gz gsoc2013-evolution-9773f0a3b8ed4a058d4cd28d0bc4060dbe43da19.tar.zst gsoc2013-evolution-9773f0a3b8ed4a058d4cd28d0bc4060dbe43da19.zip |
EMFormatHTML: Configure CamelHttpStreams with proxy authpass.
Base64-encode the "USER:PASS" authentication string ourselves and hand
it to camel_http_stream_set_proxy_authpass().
This is so I can kill camel_http_stream_set_proxy().
Diffstat (limited to 'mail/em-utils.h')
-rw-r--r-- | mail/em-utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-utils.h b/mail/em-utils.h index e6ebe8ca4b..b07b74b186 100644 --- a/mail/em-utils.h +++ b/mail/em-utils.h @@ -26,6 +26,7 @@ #include <gtk/gtk.h> #include <sys/types.h> #include <camel/camel.h> +#include <libedataserver/e-proxy.h> #include <mail/e-mail-reader.h> #include <mail/e-mail-session.h> @@ -66,7 +67,7 @@ gboolean em_utils_folder_is_templates (CamelFolder *folder); gboolean em_utils_folder_is_sent (CamelFolder *folder); gboolean em_utils_folder_is_outbox (CamelFolder *folder); -gchar *em_utils_get_proxy_uri (const gchar *uri); +EProxy * em_utils_get_proxy (void); /* FIXME: should this have an override charset? */ gchar *em_utils_message_to_html (CamelMimeMessage *msg, const gchar *credits, guint32 flags, struct _EMFormat *source, const gchar *append, guint32 *validity_found); |