mail-cache.c revision f0ff961282e618945dfe997dc45ff95d656e5790
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainen/* Copyright (c) 2003-2012 Dovecot authors, see the included COPYING file */
2670cd577aa57eb9f915a4f4220ae48c9b4fc5fbTimo Sirainenvoid mail_cache_set_syscall_error(struct mail_cache *cache,
function);
T_BEGIN {
} T_END;
return FALSE;
return FALSE;
return TRUE;
return TRUE;
return TRUE;
return TRUE;
return FALSE;
return FALSE;
const void *data;
unsigned int msg_count;
if (msg_count == 0)
if (want_compress) {
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return FALSE;
return TRUE;
if (offset == 0) {
if (!copy_hdr)
const void **data_r)
const void *hdr_data;
void *data;
if (ret < 0) {
const void **data_r)
const void *data;
if (size == 0)
if (ret < 0) {
const void *data;
&data) < 0)
int ret;
if (ret > 0)
if (ret < 0) {
return ret;
return cache;
return cache;
return cache;
unsigned int timeout_secs;
int ret;
if (ret < 0) {
if (ret <= 0)
return ret;
TRUE);
bool nonblock)
const void *data;
int i, ret;
(require_same_reset_id || i == 0)) {
ret = 0;
ret = 0;
if (ret > 0) {
sizeof(struct mail_cache_header));
return ret;
int ret = 0;
return ret;
if (*offset == 0) {
struct mail_cache_view *
return view;
bool update)
&message_count)) {
return first_new_seq;