aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-10-04 23:56:32 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-10-04 23:56:32 +0800
commit47a2f8444fed208beaa353c9d1da69c970e91d4c (patch)
tree9b5f06c358ccbd0bdcb8cd1fcf9b07a5aeac9a28 /camel/camel-folder-summary.h
parent58eba683f83f3b6e2ca023c34e6eae647d929409 (diff)
downloadgsoc2013-evolution-47a2f8444fed208beaa353c9d1da69c970e91d4c.tar.gz
gsoc2013-evolution-47a2f8444fed208beaa353c9d1da69c970e91d4c.tar.zst
gsoc2013-evolution-47a2f8444fed208beaa353c9d1da69c970e91d4c.zip
Handle the case where ct != NULL, but type and subtype are, and also match
2000-10-04 Not Zed <NotZed@HelixCode.com> * camel-mime-utils.c (header_content_type_is): Handle the case where ct != NULL, but type and subtype are, and also match that against text/plain. * camel-folder-summary.c: Bump summary file version. (message_info_save): Save the size from the messageinfo. (message_info_load): Load the size from the summary file. (message_info_load): Fixed up the time_t saving/loading. There was a reason the warning was left there ... obviously nobody could read the comment "/* warnings, leave them here */", why do i even bother. (camel_folder_summary_decode_time_t): Decode a time_t value from the summary file. (camel_folder_summary_encode_time_t): Encode a time_t value to the summary file. svn path=/trunk/; revision=5706
Diffstat (limited to 'camel/camel-folder-summary.h')
-rw-r--r--camel/camel-folder-summary.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-folder-summary.h b/camel/camel-folder-summary.h
index cebaaa7066..ec1799e103 100644
--- a/camel/camel-folder-summary.h
+++ b/camel/camel-folder-summary.h
@@ -203,6 +203,9 @@ int camel_folder_summary_decode_fixed_int32(FILE *, gint32 *);
int camel_folder_summary_encode_uint32(FILE *, guint32);
int camel_folder_summary_decode_uint32(FILE *, guint32 *);
+int camel_folder_summary_encode_time_t(FILE *out, time_t value);
+int camel_folder_summary_decode_time_t(FILE *in, time_t *dest);
+
int camel_folder_summary_encode_string(FILE *, char *);
int camel_folder_summary_decode_string(FILE *, char **);