changeset 9132:dad05c75bd48 HEAD

Moved MAIL_READ_BLOCK_SIZE to mail-storage-private.h
author Timo Sirainen <tss@iki.fi>
date Fri, 17 Apr 2009 12:54:10 -0400
parents 6284c1ff3e34
children a80db92d296b
files src/lib-storage/index/index-storage.h src/lib-storage/mail-storage-private.h
diffstat 2 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/index-storage.h	Thu Apr 16 22:07:08 2009 -0400
+++ b/src/lib-storage/index/index-storage.h	Fri Apr 17 12:54:10 2009 -0400
@@ -5,11 +5,6 @@
 #include "mail-storage-private.h"
 #include "mail-index-private.h"
 
-/* Max. mmap()ed size for a message */
-#define MAIL_MMAP_BLOCK_SIZE (1024*256)
-/* Block size when read()ing message. */
-#define MAIL_READ_BLOCK_SIZE (1024*8)
-
 #define MAILBOX_FULL_SYNC_INTERVAL 5
 
 enum mailbox_lock_notify_type {
--- a/src/lib-storage/mail-storage-private.h	Thu Apr 16 22:07:08 2009 -0400
+++ b/src/lib-storage/mail-storage-private.h	Fri Apr 17 12:54:10 2009 -0400
@@ -7,6 +7,9 @@
 #include "mail-storage-settings.h"
 #include "mail-index-private.h"
 
+/* Block size when read()ing message. */
+#define MAIL_READ_BLOCK_SIZE (1024*8)
+
 /* Called after mail storage has been created */
 extern void (*hook_mail_storage_created)(struct mail_storage *storage);
 /* Called after mailbox has been opened */