mail-index.c revision b66a207ddcfc72a634186ec7e9a82df28ffc1d4e
#include "lib.h"
#include "ioloop.h"
#include "array.h"
#include "buffer.h"
#include "eacces-error.h"
#include "hash.h"
#include "str-sanitize.h"
#include "mmap-util.h"
#include "nfs-workarounds.h"
#include "read-full.h"
#include "write-full.h"
#include "mail-index-alloc-cache.h"
#include "mail-index-private.h"
#include "mail-index-view-private.h"
#include "mail-index-sync-private.h"
#include "mail-index-modseq.h"
#include "mail-transaction-log-private.h"
#include "mail-transaction-log-view-private.h"
#include "mail-cache.h"
#include <stdio.h>
#include <stddef.h>
#include <time.h>
return index;
unsigned int max_timeout_secs)
unsigned int min_created_ago_secs,
unsigned int log2_stale_secs)
return ext_id;
unsigned int i, count;
for (i = 0; i < count; i++) {
*ext_id_r = i;
return TRUE;
return FALSE;
void *context)
unsigned int i, count;
for (i = 0; i < count; i++) {
char *key;
void *value;
return TRUE;
return FALSE;
const char *keyword,
unsigned int *idx_r)
char *keyword_dup;
struct mail_keywords *
const char *const keywords[])
struct mail_keywords *k;
if (count == 0) {
for (i = 0; i < src; i++) {
if (i == src)
dest++;
struct mail_keywords *
struct mail_keywords *k;
const unsigned int *indexes;
if (count == 0) {
for (i = 0; i < src; i++) {
if (i == src)
int ret;
if (ret == 0) {
return ret;
const char *path;
int fd;
return fd;
int ret;
if (ret == 0) {
if (ret >= 0) {
if (ret == 0) {
if (ret == 0) {
if (ret < 0) {
int ret;
return ret;
int ret;
return ret;
return ret;
int ret;
const char *path;
int last_errno = 0;
if (last_errno == 0)
const char **reason_r)
int ret;
goto final;
else if (ret > 0)
return ret;
int ret;
if (*mtime_r == 0) {
const char *function)
const char *filepath,
const char *function)
const char *errstr;