fts-expunge-log.h revision 5433d56d338db3948bf7bc22ef1daaba147dbb5d
#ifndef FTS_EXPUNGE_LOG
#define FTS_EXPUNGE_LOG
#include "seq-range-array.h"
#include "guid.h"
struct fts_expunge_log_read_record {
};
struct fts_expunge_log_append_ctx *
const guid_128_t mailbox_guid,
const guid_128_t mailbox_guid,
const struct fts_expunge_log_read_record *record);
/* Do not commit non-backed structures, abort them after use. */
unsigned int *expunges_r);
struct fts_expunge_log_read_ctx *
const struct fts_expunge_log_read_record *
/* Returns 1 if all ok, 0 if there was corruption, -1 if I/O error.
If end() is called before reading all records, the log isn't unlinked. */
/* Read an entire log file, and flatten it into one hash of arrays.
The struct it returns cannot be written, as it has no backing store */
int fts_expunge_log_flatten(const char *path,
struct fts_expunge_log_append_ctx **flattened_r);
#endif