maildir-sync-index.c revision fde04e23b231c2e5eedbdda052e08d1c6c5a29d1
25757faf029c369a8318349dafe952e2358df1d8Timo Sirainen/* Copyright (c) 2007-2008 Dovecot authors, see the included COPYING file */
25757faf029c369a8318349dafe952e2358df1d8Timo Sirainen struct maildir_sync_context *maildir_sync_ctx;
22535a9e685e29214082878e37a267157044618eTimo Sirainen struct maildir_keywords_sync_ctx *keywords_sync_ctx;
25757faf029c369a8318349dafe952e2358df1d8Timo Sirainen struct maildir_uidlist_sync_ctx *uidlist_sync_ctx;
25757faf029c369a8318349dafe952e2358df1d8Timo Sirainen struct index_sync_changes_context *sync_changes;
22535a9e685e29214082878e37a267157044618eTimo Sirainenmaildir_sync_get_keywords_sync_ctx(struct maildir_index_sync_context *ctx)
25757faf029c369a8318349dafe952e2358df1d8Timo Sirainenstatic int maildir_expunge(struct maildir_mailbox *mbox, const char *path,
fname++;
int ret;
sync_flags = 0;
sync_flags) < 0) {
return TRUE;
const void *data;
return ret;
bool partial)
const char *filename;
unsigned int changes = 0;
int ret = 0;
seq--;
goto again;
seq--;
if (expunged) {
if (!partial) {
if (uid_validity == 0) {
sizeof(struct maildir_list_index_record),
sizeof(uint32_t));
const void *data;
bool expunged;
const void *data;
bool expunged;
if (expunged)