diff options
author | Dan Winship <danw@src.gnome.org> | 2001-05-12 04:57:26 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-05-12 04:57:26 +0800 |
commit | ba099582f365aa886cf426c4b7c422244ccec2e4 (patch) | |
tree | 048f51bf50cc32bba92dad2ca6ef2fe0ede0af86 /camel/camel-mime-utils.h | |
parent | 96dab8cb1934bfd4d0240d1aa9c2ca0e45a9edbb (diff) | |
download | gsoc2013-evolution-ba099582f365aa886cf426c4b7c422244ccec2e4.tar.gz 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-utils.h')
-rw-r--r-- | camel/camel-mime-utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h index 7805c27456..2739e5e0f9 100644 --- a/camel/camel-mime-utils.h +++ b/camel/camel-mime-utils.h @@ -175,6 +175,9 @@ void header_references_list_append_asis(struct _header_references **list, char * int header_references_list_size(struct _header_references **list); struct _header_references *header_references_dup(const struct _header_references *list); +/* decode content-location */ +char *header_location_decode(const char *in); + /* decode the mime-type header */ void header_mime_decode(const char *in, int *maj, int *min); |