aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-11 06:06:56 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-11 06:06:56 +0800
commite39d94c5ef8d88c726a29f2cfa994a6a0d90be5a (patch)
treef310c84a954e8e3ab7ddf65f894245fe5cda4e63 /camel/camel-mime-utils.h
parent456227c7b4997debde1b8a89273e3eb0c3ec90bc (diff)
downloadgsoc2013-evolution-e39d94c5ef8d88c726a29f2cfa994a6a0d90be5a.tar.gz
gsoc2013-evolution-e39d94c5ef8d88c726a29f2cfa994a6a0d90be5a.tar.zst
gsoc2013-evolution-e39d94c5ef8d88c726a29f2cfa994a6a0d90be5a.zip
New function to parse an HTML meta-tag.
2001-07-10 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (html_meta_param_list_decode): New function to parse an HTML meta-tag. * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): If the Content-Type did not contain a charset parameter and it's also a text/html part, we have 1 last place to look - in the META html tags. *sigh* * camel-mime-message.c (camel_mime_message_get_source): s/gint/unsigned since that's what it should be. svn path=/trunk/; revision=10976
Diffstat (limited to 'camel/camel-mime-utils.h')
-rw-r--r--camel/camel-mime-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h
index c32485d000..d057b91936 100644
--- a/camel/camel-mime-utils.h
+++ b/camel/camel-mime-utils.h
@@ -109,6 +109,9 @@ void header_param_list_format_append(GString *out, struct _header_param *p);
char *header_param_list_format(struct _header_param *p);
void header_param_list_free(struct _header_param *p);
+/* for decoding META tags in text/html stuff */
+struct _header_param *html_meta_param_list_decode (const char *in, int inlen);
+
/* Content-Type header */
struct _header_content_type *header_content_type_new(const char *type, const char *subtype);
struct _header_content_type *header_content_type_decode(const char *in);