fts-expunge-log.h revision 8d4428cee277a9a84450a8c6771f7a4dc68638cf
#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