dovecot-1.3: Moved MAIL_READ_BLOCK_SIZE to mail-storage-private.h
dovecot at dovecot.org
dovecot at dovecot.org
Fri Apr 17 19:54:54 EEST 2009
details: http://hg.dovecot.org/dovecot-1.3/rev/dad05c75bd48
changeset: 9132:dad05c75bd48
user: Timo Sirainen <tss at iki.fi>
date: Fri Apr 17 12:54:10 2009 -0400
description:
Moved MAIL_READ_BLOCK_SIZE to mail-storage-private.h
diffstat:
2 files changed, 3 insertions(+), 5 deletions(-)
src/lib-storage/index/index-storage.h | 5 -----
src/lib-storage/mail-storage-private.h | 3 +++
diffs (28 lines):
diff -r 6284c1ff3e34 -r dad05c75bd48 src/lib-storage/index/index-storage.h
--- 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
@@ -4,11 +4,6 @@
#include "file-dotlock.h"
#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
diff -r 6284c1ff3e34 -r dad05c75bd48 src/lib-storage/mail-storage-private.h
--- 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
@@ -6,6 +6,9 @@
#include "mail-storage.h"
#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);
More information about the dovecot-cvs
mailing list