From: Timo Sirainen Date: Fri, 17 Apr 2009 16:54:10 +0000 (-0400) Subject: Moved MAIL_READ_BLOCK_SIZE to mail-storage-private.h X-Git-Tag: 2.0.alpha1~920 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65f8fb656051f1059f7b5a2da9c5555adcc30439;p=thirdparty%2Fdovecot%2Fcore.git Moved MAIL_READ_BLOCK_SIZE to mail-storage-private.h --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/index-storage.h b/src/lib-storage/index/index-storage.h index 362f7a29d6..756249db3e 100644 --- a/src/lib-storage/index/index-storage.h +++ b/src/lib-storage/index/index-storage.h @@ -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 { diff --git a/src/lib-storage/mail-storage-private.h b/src/lib-storage/mail-storage-private.h index adf5bfd358..b5d4e56de0 100644 --- a/src/lib-storage/mail-storage-private.h +++ b/src/lib-storage/mail-storage-private.h @@ -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 */