/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "mail-index-modseq.h"
#include "mail-storage-private.h"
{
}
{
unsigned int i, count;
for (i = 0; i < count; i++) {
break;
}
}
}
}
static void
{
}
}
}
static void
const struct mail_transaction_expunge_guid *src,
{
}
}
static int
struct mail_transaction_log_view **log_view_r,
bool *modseq_too_old_r)
{
const char *reason;
bool reset;
int ret;
&log_seq, &log_offset)) {
log_seq = 1;
log_offset = 0;
*modseq_too_old_r = TRUE;
}
/* we haven't seen this high expunges at all */
return 1;
}
if (ret == 0) {
*modseq_too_old_r = TRUE;
}
if (ret <= 0) {
return -1;
}
*log_view_r = log_view;
return 0;
}
static void
{
const void *tdata;
unsigned int n;
continue;
continue;
}
}
/* everything left in expunged_uids didn't get a GUID */
}
}
{
const void *tdata;
bool modseq_too_old;
int ret;
if (ret != 0)
return ret > 0;
/* first get UIDs of all actual expunges */
if (expunged_uids == NULL) {
}
/* skip expunge requests */
continue;
}
case MAIL_TRANSACTION_EXPUNGE:
break;
break;
}
}
/* drop UIDs that don't match the filter */
}
}
{
}
{
}