mail-transaction-log-private.h revision 55a210942dc7da58b2fd0b11bed8da6b030af5c1
#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;
int lock_type;
void *mmap_base;
struct mail_transaction_log_header hdr;
};
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