mail-index-sync-update.c revision a928e7efabb1672b1476e597106d4b4b81ac6f3c
1974ebd587f6c126ffe11829f944d7c10c667d98Eugen Kuksa/* Copyright (C) 2004 Timo Sirainen */
1974ebd587f6c126ffe11829f944d7c10c667d98Eugen Kuksamail_index_header_update_counts(struct mail_index_header *hdr,
8441cc0be003fcd6294a1b5b93e1143b5bb82ceaJulian Kornberger if (((old_flags ^ new_flags) & MAIL_RECENT) != 0) {
if (seq1 == 0)
void *dest;
void *context)
int update_keywords;
if (seq1 == 0)
for (i = 0; i < INDEX_KEYWORDS_BYTE_COUNT; i++) {
if (u->add_keywords[i] != 0 ||
u->remove_keywords[i] != 0)
if (update_keywords) {
for (i = 0; i < INDEX_KEYWORDS_BYTE_COUNT; i++) {
void *context)
uint32_t i;
void *context)
if (seq == 0) {
void *context)
void *data;
const struct mail_transaction_extra_rec_update *u,
void *context)
if (seq != 0) {
unsigned int count)
const int max_days =
int i, days;
const void *data;
first_append_uid = 0;
if (had_dirty)
if (first_append_uid == 0)
&sync_map_ctx) < 0) {
if (ret < 0) {
if (first_append_uid != 0)
had_dirty) {
return ret;