/* Copyright (c) 2007-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "ioloop.h"
#include "raw-storage.h"
#include "raw-sync.h"
#include "mailbox-recent-flags.h"
{
int ret;
/* already-synced index was opened via
mail-index-alloc-cache. */
return 0;
}
if (ret <= 0) {
if (ret < 0)
return ret;
}
/* set our uidvalidity */
/* add our one and only message */
if (mail_index_sync_commit(&index_sync_ctx) < 0) {
return -1;
}
return 0;
}
struct mailbox_sync_context *
{
int ret = 0;
}