index-sync.c revision ac50d909882a95e3012a186c577ddecb2d3f310f
/* Copyright (C) 2002 Timo Sirainen */
#include "lib.h"
#include "index-storage.h"
#include "mail-index-util.h"
#include "mail-modifylog.h"
#include "mail-custom-flags.h"
/* may leave the index locked */
{
return mail_storage_set_index_error(ibox);
}
/* not enough disk space to sync. can't do much about it
though, giving error message would just make it impossible
to delete messages. */
}
return TRUE;
}
void *context)
{
const char **custom_flags;
unsigned int count;
/* show the log */
return FALSE;
case RECORD_TYPE_EXPUNGE:
if (expunge_func != NULL) {
}
break;
break;
flags |= MAIL_RECENT;
}
break;
}
}
/* mark synced */
}
void *context)
{
unsigned int count;
int failed;
return FALSE;
}
return FALSE;
return mail_storage_set_index_error(ibox);
}
/* expunge messages */
}
/* get the messages count even if there was some failures.
also it must be done after expunging messages */
/* new messages in mailbox */
}
}
return mail_storage_set_index_error(ibox);
return TRUE;
}