diff src/lib-mail/message-parser.h @ 988:8028c4dcf38f HEAD

mail-storage.h interface changes, affects pretty much everything. FETCH, SEARCH, SORT and THREAD handling were pretty much moved from lib-storage/ to imap/ so adding non-index storages would be much easier now. Also POP3 server can now be easily implemented with lib-storage. Not too well tested, and at least one major problem: partial fetching is _slow_.
author Timo Sirainen <tss@iki.fi>
date Mon, 20 Jan 2003 16:52:51 +0200
parents 411006be3c66
children 60646878858e
line wrap: on
line diff
--- a/src/lib-mail/message-parser.h	Mon Jan 20 15:56:55 2003 +0200
+++ b/src/lib-mail/message-parser.h	Mon Jan 20 16:52:51 2003 +0200
@@ -1,6 +1,8 @@
 #ifndef __MESSAGE_PARSER_H
 #define __MESSAGE_PARSER_H
 
+#include "message-size.h"
+
 #define IS_LWSP(c) \
 	((c) == ' ' || (c) == '\t')
 
@@ -16,12 +18,6 @@
 	MESSAGE_PART_FLAG_BINARY		= 0x10
 };
 
-struct message_size {
-	uoff_t physical_size;
-	uoff_t virtual_size;
-	unsigned int lines;
-};
-
 struct message_part {
 	struct message_part *parent;
 	struct message_part *next;