index-sync.c revision d67f54632110cfb6aafe2d7cd1f99b031c0b208a
/* Copyright (C) 2002 Timo Sirainen */
#include "lib.h"
#include "index-storage.h"
{
struct mail_index_view_sync_ctx *ctx;
struct mail_full_flags full_flags;
const struct mail_index_record *rec;
struct mail_index_sync_rec sync;
struct mail_storage_callbacks *sc;
size_t i, expunges_count;
void *sc_context;
if ((flags & MAILBOX_SYNC_FLAG_NO_EXPUNGES) != 0)
return -1;
}
if ((flags & MAILBOX_SYNC_FLAG_NO_EXPUNGES) != 0) {
expunges_count = 0;
} else {
expunges =
}
break;
/* later */
break;
break;
/* FIXME: hide the flag updates for expunged messages */
ret = -1;
break;
}
&full_flags, sc_context);
}
break;
}
}
if (ret < 0)
if (seq > messages_count)
}
}
if (appends) {
}
return ret;
}