mail-index-sync-update.c revision d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d
1882N/A#include "file-set-size.h"
1882N/A#include "mmap-util.h"
1882N/A#include "mail-index-view-private.h"
1882N/A#include "mail-index-sync-private.h"
1882N/A#include "mail-transaction-log.h"
1882N/A#include "mail-transaction-log-private.h"
1882N/A#include "mail-transaction-util.h"
unsigned int i, expunge_handlers_count;
if (seq1 == 0)
for (i = 0; i < expunge_handlers_count; i++) {
void *dest;
if (seq1 == 0)
unsigned int count)
void *hdr_copy;
t_push();
t_pop();
t_pop();
const int max_days =
int i, days;
const void *data)
int ret = 0;
t_push();
case MAIL_TRANSACTION_APPEND: {
if (ret <= 0)
case MAIL_TRANSACTION_EXPUNGE:
if (ret <= 0)
case MAIL_TRANSACTION_FLAG_UPDATE: {
if (ret <= 0)
case MAIL_TRANSACTION_HEADER_UPDATE: {
if (ret <= 0)
case MAIL_TRANSACTION_EXT_INTRO: {
if (ret <= 0)
case MAIL_TRANSACTION_EXT_RESET: {
case MAIL_TRANSACTION_EXT_HDR_UPDATE: {
if (ret <= 0)
case MAIL_TRANSACTION_EXT_REC_UPDATE: {
unsigned int record_size;
if (ret <= 0)
case MAIL_TRANSACTION_KEYWORD_UPDATE: {
case MAIL_TRANSACTION_KEYWORD_RESET: {
i_unreached();
t_pop();
return ret;
bool sync_only_external)
const void *data;
int ret;
if (had_dirty)
first_append_uid = 0;
if (sync_only_external) {
} else if (check_ext_offsets) {
&prev_seq,
&prev_offset);
if (first_append_uid == 0)
if (ret < 0) {
if (!sync_only_external)
if (first_append_uid != 0)
had_dirty) {
unsigned int base_size;
return ret;