aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-12 04:57:26 +0800
committerDan Winship <danw@src.gnome.org>2001-05-12 04:57:26 +0800
commitba099582f365aa886cf426c4b7c422244ccec2e4 (patch)
tree048f51bf50cc32bba92dad2ca6ef2fe0ede0af86 /camel/camel-mime-part.h
parent96dab8cb1934bfd4d0240d1aa9c2ca0e45a9edbb (diff)
downloadgsoc2013-evolution-ba099582f365aa886cf426c4b7c422244ccec2e4.tar
gsoc2013-evolution-ba099582f365aa886cf426c4b7c422244ccec2e4.tar.gz
gsoc2013-evolution-ba099582f365aa886cf426c4b7c422244ccec2e4.tar.bz2
gsoc2013-evolution-ba099582f365aa886cf426c4b7c422244ccec2e4.tar.lz
gsoc2013-evolution-ba099582f365aa886cf426c4b7c422244ccec2e4.tar.xz
gsoc2013-evolution-ba099582f365aa886cf426c4b7c422244ccec2e4.tar.zst
gsoc2013-evolution-ba099582f365aa886cf426c4b7c422244ccec2e4.zip
Decode Content-Location, either correctly or Netscape-generated-brokenly.
* camel-mime-utils.c (header_location_decode): Decode Content-Location, either correctly or Netscape-generated-brokenly. * camel-mime-part.c (camel_mime_part_set_content_location, camel_mime_part_get_content_location, etc): Deal with Content-Location header. svn path=/trunk/; revision=9772
Diffstat (limited to 'camel/camel-mime-part.h')
-rw-r--r--camel/camel-mime-part.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h
index 75f7bff6db..4d844af3fd 100644
--- a/camel/camel-mime-part.h
+++ b/camel/camel-mime-part.h
@@ -66,6 +66,7 @@ struct _CamelMimePart
CamelMimeDisposition *disposition;
gchar *content_id;
gchar *content_MD5;
+ gchar *content_location;
GList *content_languages;
CamelMimePartEncodingType encoding;
@@ -102,6 +103,9 @@ const gchar *camel_mime_part_get_content_id (CamelMimePart *mime_part);
void camel_mime_part_set_content_MD5 (CamelMimePart *mime_part, const char *);
const gchar *camel_mime_part_get_content_MD5 (CamelMimePart *mime_part);
+void camel_mime_part_set_content_location (CamelMimePart *mime_part, const char *);
+const gchar *camel_mime_part_get_content_location (CamelMimePart *mime_part);
+
void camel_mime_part_set_encoding (CamelMimePart *mime_part, CamelMimePartEncodingType type);
CamelMimePartEncodingType camel_mime_part_get_encoding (CamelMimePart *mime_part);