mail-transaction-log.c revision d1727ed9c2ed8c520afa35cf0302fd94f7dfd723
0N/A#include "file-lock.h"
0N/A#include "file-dotlock.h"
335N/A#include "read-full.h"
0N/A#include "write-full.h"
0N/A#include "mmap-util.h"
0N/A#include "mail-index-private.h"
0N/A#include "mail-index-view-private.h"
0N/A#include "mail-transaction-log-private.h"
0N/A#include "mail-transaction-util.h"
0N/A#include "mail-index-transaction-private.h"
1244N/A#define LOG_DOTLOCK_STALE_TIMEOUT 0
1384N/Astruct mail_transaction_add_ctx {
1325N/Astatic struct mail_transaction_log_file *
1473N/Astruct mail_transaction_log *
1473N/Astatic struct mail_transaction_log_file *
1473N/A struct mail_transaction_log_file **p;
static struct mail_transaction_log_file *
const char *path)
int fd;
return NULL;
return NULL;
struct mail_transaction_log_file **p;
if ((*p)->refcount != 0)
p = &(*p)->next;
*p = (*p)->next;
int fd;
const char *path;
int ret;
void *data;
int ret;
ret = 0;
if (ret <= 0)
return ret;
size = 0;
if (size == 0)
ret = 0;
return ret;
if (!use_mmap) {
if (ret <= 0) {
return ret;
int ret = 0;
if (ret < 0)
return ret;
const void *data;
int ret;
return ret;
unsigned char *data;
expunges_before = 0;
exp++;
if (!two)
if (expunges_before != 0) {
if (uids) {
if (two) {
exp2++;
if (count != 0) {
if (uids) {
struct mail_index_transaction *t)
sizeof(struct mail_transaction_flag_update),
sizeof(struct mail_transaction_cache_update),
sizeof(struct mail_transaction_expunge),
const void *data;
if (size == 0)
size = 0;
if (external)
if (size != 0) {
int ret;
ret = 0;
if (ret == 0) {
t->hide_transaction) {
if (ret < 0) {
return ret;