aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-06-03 02:09:18 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-06-03 02:09:18 +0800
commit4cf5bbfa5a228f47256e74a7a11180e2d512561b (patch)
tree102fe3a9d0607fe08e971e11ac6f7bc13ec2bf15 /camel/camel-mime-utils.h
parentdb7feeef33e7d9beb72ededf321acc11fe471c96 (diff)
downloadgsoc2013-evolution-4cf5bbfa5a228f47256e74a7a11180e2d512561b.tar.gz
gsoc2013-evolution-4cf5bbfa5a228f47256e74a7a11180e2d512561b.tar.zst
gsoc2013-evolution-4cf5bbfa5a228f47256e74a7a11180e2d512561b.zip
If we get a funny result, just throw it out. Basically a fix for the one
2000-06-02 Not Zed <NotZed@HelixCode.com> * camel-mime-utils.c (header_decode_date): If we get a funny result, just throw it out. Basically a fix for the one true broken TradeClient. 2000-06-01 Not Zed <NotZed@HelixCode.com> * camel-folder-summary.c (message_info_free): Free references/messsage id. (message_info_save): Save them. (message_info_load): Load them. (message_info_new): And get them from the new message. (CAMEL_FOLDER_SUMMARY_VERSION): Bumped for new changes. * camel-folder-summary.h: Added references and messageid to summary. svn path=/trunk/; revision=3391
Diffstat (limited to 'camel/camel-mime-utils.h')
-rw-r--r--camel/camel-mime-utils.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h
index f95f76363c..5f715243d0 100644
--- a/camel/camel-mime-utils.h
+++ b/camel/camel-mime-utils.h
@@ -23,6 +23,12 @@
#include <time.h>
+/* a list of references for this message */
+struct _header_references {
+ struct _header_references *next;
+ char *id;
+};
+
struct _header_param {
struct _header_param *next;
char *name;
@@ -137,6 +143,12 @@ char *header_format_date(time_t time, int offset);
/* decode a message id */
char *header_msgid_decode(const char *in);
+/* decode a References header */
+struct _header_references *header_references_decode(const char *in);
+void header_references_list_clear(struct _header_references **list);
+void header_references_list_append_asis(struct _header_references **list, char *ref);
+int header_references_list_size(struct _header_references **list);
+
/* decode the mime-type header */
void header_mime_decode(const char *in, int *maj, int *min);