changeset 4603:20e2bc758c24 HEAD

Removed unused flag and added comment.
author Timo Sirainen <tss@iki.fi>
date Sat, 16 Sep 2006 16:47:48 +0300
parents 444edc8abef9
children 2415f43b1dcf
files src/lib-mail/message-parser.h
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-mail/message-parser.h	Sat Sep 16 16:40:17 2006 +0300
+++ b/src/lib-mail/message-parser.h	Sat Sep 16 16:47:48 2006 +0300
@@ -4,6 +4,8 @@
 #include "message-header-parser.h"
 #include "message-size.h"
 
+/* Note that these flags are used directly by message-parser-serialize, so
+   existing flags can't be changed without breaking backwards compatibility */
 enum message_part_flags {
 	MESSAGE_PART_FLAG_MULTIPART		= 0x01,
 	MESSAGE_PART_FLAG_MULTIPART_DIGEST	= 0x02,
@@ -12,8 +14,7 @@
 	/* content-type: text/... */
 	MESSAGE_PART_FLAG_TEXT			= 0x08,
 
-	/* content-transfer-encoding: binary */
-	MESSAGE_PART_FLAG_BINARY		= 0x10,
+	MESSAGE_PART_FLAG_UNUSED		= 0x10,
 
 	/* message part header or body contains NULs */
 	MESSAGE_PART_FLAG_HAS_NULS		= 0x20,