mail-cache-transaction.c revision bb1e9bd834c04f272b6e3f4d4a7686c26d6e5c2a
279N/A#include "file-cache.h"
279N/A#include "file-set-size.h"
279N/A#include "read-full.h"
279N/A#include "write-full.h"
279N/A#include "mail-cache-private.h"
279N/A#include "mail-index-transaction-private.h"
279N/Astruct mail_cache_transaction_ctx {
279N/Astruct mail_cache_transaction_ctx *
279N/A struct mail_index_transaction *t)
279N/A return t->cache_trans_ctx;
int ret;
return ret;
while (offset != 0) {
return FALSE;
return FALSE;
if (offset == 0)
return FALSE;
if (prev_offset == 0)
return FALSE;
return TRUE;
if (!locked) {
if (!locked)
int commit)
int ret;
if (!locked) {
return ret;
commit);
if (!locked)
if (ret < 0)
if (old_offset != 0) {
write_offset) < 0)
old_offset) < 0)
*seq_idx = i;
if (commit) {
seq_limit = 0;
if (ret <= 0) {
return ret;
seq_limit++;
&write_size) < 0)
void *data;
int ret = 0;
return ret;
if (size > 0) {
} while (size > 0);
unsigned int field)
const void *data;
int ret = 0;
t_push();
&hdr_offset) < 0)
hdr_offset) < 0) {
t_pop();
return ret;
unsigned int fixed_size;
sizeof(data_size32));
&cache_rec) < 0)