mail-transaction-log-private.h revision 6eb30032b4a50c383dea4c9c74342d906de6ad36
#ifndef __MAIL_TRANSACTION_LOG_VIEW_H
#define __MAIL_TRANSACTION_LOG_VIEW_H
#include "file-dotlock.h"
#include "mail-transaction-log.h"
struct mail_transaction_log_file {
struct mail_transaction_log *log;
struct mail_transaction_log_file *next;
int refcount;
char *filepath;
int fd;
void *mmap_base;
struct mail_transaction_log_header hdr;
unsigned int locked:1;
};
struct mail_transaction_log {
struct mail_index *index;
struct mail_transaction_log_view *views;
unsigned int dotlock_count;
};
void
const char *fmt, ...)
struct mail_transaction_log_file **file_r);
#endif