mail-index-sync-update.c revision 3342badd8c69adff34db589fb0a221ace5996212
2ronwalf#include "mmap-util.h"
2ronwalf#include "mail-index-view-private.h"
2ronwalf#include "mail-index-sync-private.h"
2ronwalf#include "mail-transaction-log.h"
2ronwalf#include "mail-transaction-log-private.h"
struct mail_index_map *
const char **error_r)
const char *error;
unsigned int i, count;
for (i = 0; i < count; i++) {
&error) < 0)
const char *error;
if (all) {
&error) < 0)
unsigned int i, count;
for (i = 0; i < count; i++) {
unsigned int i, count;
for (i = 0; i < count; i++, e++) {
if (seq1 == 0) {
FALSE);
void *dest;
if (seq1 == 0)
/* we're not modifying any counted/lowwatered flags */
const void *data)
int ret = 0;
t_push();
case MAIL_TRANSACTION_APPEND: {
if (ret <= 0)
case MAIL_TRANSACTION_EXPUNGE:
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 i, record_size;
if (ret <= 0)
case MAIL_TRANSACTION_KEYWORD_UPDATE: {
case MAIL_TRANSACTION_KEYWORD_RESET: {
i_unreached();
t_pop();
return ret;
#ifdef DEBUG
del++;
seen++;
const void *tdata;
int ret;
if (!force) {
if (ret <= 0) {
if (had_dirty) {
if (reset) {
&tdata)) > 0) {
if (had_dirty)
#ifdef DEBUG