maildir-rebuild.c revision 914e66bb9c50ec3e463d1514eaa04e25026457de
/* Copyright (C) 2002 Timo Sirainen */
#include "lib.h"
#include "maildir-index.h"
#include "mail-index-data.h"
#include "mail-index-util.h"
#include <unistd.h>
{
return FALSE;
/* reset the header */
/* require these fields */
/* update indexid, which also means that our state has completely
changed */
sizeof(struct mail_index_header), MS_SYNC) < 0)
return FALSE;
/* reset data file */
return FALSE;
/* read the mails by syncing */
return FALSE;
/* rebuild is complete - remove the flag */
return TRUE;
}