mail-cache.c revision bc564f1d3d953cf724828322b11ae89e0f59ffc9
d1de19abd0067f38bc08a4a3357de701a4e5571ddlezcano/* Copyright (c) 2003-2007 Dovecot authors, see the included COPYING file */
8a67a2b2eaf28033962a432c214bd3303c29c54cdlezcanovoid mail_cache_set_syscall_error(struct mail_cache *cache,
8a67a2b2eaf28033962a432c214bd3303c29c54cdlezcano const char *function)
8a67a2b2eaf28033962a432c214bd3303c29c54cdlezcano "%s failed with index cache file %s: %m",
t_push();
t_pop();
return FALSE;
return FALSE;
return TRUE;
return TRUE;
return TRUE;
return TRUE;
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return TRUE;
return FALSE;
return FALSE;
return FALSE;
return TRUE;
if (size == 0)
if (ret < 0) {
if (offset == 0) {
int ret;
if (ret > 0)
if (ret < 0) {
return ret;
return cache;
return cache;
return cache;
int ret;
if (ret < 0) {
if (ret <= 0)
return ret;
TRUE);
int i, ret;
(require_same_reset_id || i == 0)) {
if (ret <= 0)
ret = 0;
if (ret > 0) {
sizeof(struct mail_cache_header));
return ret;
unsigned int cont_percentage;
int ret = 0;
return ret;
struct mail_cache_view *
return view;