diff src/lib-index/mail-transaction-log-private.h @ 3243:40b4ba3c55b8 HEAD

In-memory indexes work again. Just pass dir as NULL to mail_index_alloc().
author Timo Sirainen <tss@iki.fi>
date Tue, 29 Mar 2005 15:18:49 +0300
parents ef16bb8091aa
children 0403596c93fd
line wrap: on
line diff
--- a/src/lib-index/mail-transaction-log-private.h	Tue Mar 29 13:30:19 2005 +0300
+++ b/src/lib-index/mail-transaction-log-private.h	Tue Mar 29 15:18:49 2005 +0300
@@ -7,6 +7,8 @@
 #define MAIL_TRANSACTION_LOG_ROTATE_SIZE (1024*128)
 #define MAIL_TRANSACTION_LOG_ROTATE_TIME (60*5)
 
+#define MAIL_TRANSACTION_LOG_FILE_IN_MEMORY(file) ((file)->fd == -1)
+
 struct mail_transaction_log_file {
 	struct mail_transaction_log *log;
         struct mail_transaction_log_file *next;