Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-index/mail-transaction-log.h @ 7573:de08cc81da73 HEAD
Fixes to handling races in initial index creation.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 30 May 2008 02:09:20 +0300 |
parents | 6de1aed24ce5 |
children | d10cb44ab446 |
line wrap: on
line diff
--- a/src/lib-index/mail-transaction-log.h Thu May 29 19:11:32 2008 +0300 +++ b/src/lib-index/mail-transaction-log.h Fri May 30 02:09:20 2008 +0300 @@ -122,7 +122,7 @@ is corrupted, -1 if there was some I/O error. */ int mail_transaction_log_open(struct mail_transaction_log *log); /* Create, or recreate, the transaction log. Returns 0 if ok, -1 if error. */ -int mail_transaction_log_create(struct mail_transaction_log *log); +int mail_transaction_log_create(struct mail_transaction_log *log, bool reset); /* Close all the open transactions log files. */ void mail_transaction_log_close(struct mail_transaction_log *log);