Lines Matching defs:log
5 #include "mail-transaction-log-private.h"
49 return index->log->head == NULL ? 1 :
50 I_MAX(index->log->head->sync_highest_modseq, 1);
118 /* fallback to returning the log head. if modseqs aren't
120 return map->index->log->head == NULL ? 0 :
121 map->index->log->head->sync_highest_modseq;
425 ctx->log_view = mail_transaction_log_view_open(ctx->view->index->log);
681 struct mail_transaction_log *log = view->index->log;
686 if (log->files == NULL) {
690 while (modseq < log->files->hdr.initial_modseq) {
691 /* try to find the previous log file if it still exists */
692 ret = mail_transaction_log_find_file(log,
693 log->files->hdr.file_seq - 1, FALSE, &file, &reason);
699 for (file = log->files; file != NULL; file = file->next) {
706 /* the log file has been deleted already */