From ba099582f365aa886cf426c4b7c422244ccec2e4 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 11 May 2001 20:57:26 +0000 Subject: 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 --- camel/camel-mime-utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'camel/camel-mime-utils.h') 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); -- cgit