Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-index/mail-transaction-log.h @ 5656:1273ce0585b3 HEAD
Added mail_transaction_log_view_is_last()
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 23 May 2007 00:32:26 +0300 |
parents | d569caa88a66 |
children | c2362f144f15 |
line wrap: on
line diff
--- a/src/lib-index/mail-transaction-log.h Tue May 22 23:01:14 2007 +0300 +++ b/src/lib-index/mail-transaction-log.h Wed May 23 00:32:26 2007 +0300 @@ -139,6 +139,8 @@ mail_transaction_log_view_get_prev_pos(struct mail_transaction_log_view *view, uint32_t *file_seq_r, uoff_t *file_offset_r); +/* Returns TRUE if we're at the end of the view window. */ +bool mail_transaction_log_view_is_last(struct mail_transaction_log_view *view); /* Marks the log file in current position to be corrupted. */ void