From 9773f0a3b8ed4a058d4cd28d0bc4060dbe43da19 Mon Sep 17 00:00:00 2001 From: Matthew Barnes <mbarnes@redhat.com> Date: Sun, 25 Sep 2011 20:42:38 -0400 Subject: 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(). --- mail/em-utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/em-utils.h') 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); -- cgit