mail-index.c revision a0a5877694520d0a0257b4113f2c86eb2a673bbe
0N/A#include "mmap-util.h"
0N/A#include "write-full.h"
0N/A#include "mail-index.h"
0N/A#include "mail-index-data.h"
0N/A#include "mail-index-util.h"
0N/A#include "mail-hash.h"
0N/A#include "mail-lockdir.h"
0N/A#include "mail-modifylog.h"
0N/A sizeof(MailIndexRecord);
return TRUE;
return FALSE;
return TRUE;
int ret;
return FALSE;
return TRUE;
return ret;
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return ret;
return TRUE;
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return compatible;
struct dirent *d;
const char *name;
unsigned int len;
return INDEX_FILE_PREFIX;
return NULL;
return name;
return FALSE;
return FALSE;
return TRUE;
int update_recent)
const char *path;
return FALSE;
return FALSE;
} while (FALSE);
if (failed)
return !failed;
int update_recent)
const char *path;
return FALSE;
path);
return FALSE;
return FALSE;
/* fallback to index.hostname - we require each system to
hostpid_init();
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return TRUE;
const char *name;
return FALSE;
return FALSE;
return TRUE;
const char *name;
return TRUE;
return FALSE;
return FALSE;
if (failed)
return FALSE;
return TRUE;
unsigned int lookup_seq)
unsigned int seq;
sizeof(MailIndexHeader));
return NULL;
return NULL;
return rec;
seq++;
rec++;
return rec;
return NULL;
return NULL;
return rec;
return NULL;
unsigned int first_uid,
unsigned int last_uid)
return NULL;
return NULL;
if (pos != 0) {
return (MailIndexRecord *)
return NULL;
sizeof(MailIndexHeader));
return NULL;
return rec;
rec++;
return NULL;
return NULL;
return NULL;
return NULL;
unsigned int seq;
return INDEX_POSITION_INDEX(
return INDEX_POSITION_INDEX(
seq++;
return seq;
rec++;
return FALSE;
return FALSE;
return FALSE;
return TRUE;
if (seq != 0) {
return FALSE;
if (seq != 0) {
return TRUE;
int external_change)
return FALSE;
return FALSE;
return FALSE;
return TRUE;