#include "constants.h"
#include "record.h"
#include "generic.h"
#include "reftable-iterator.h"
#include "reftable-generic.h"
void table_init_iter(struct reftable_table *tab,
struct reftable_iterator *it,
uint8_t typ)
{ … }
void reftable_table_init_ref_iter(struct reftable_table *tab,
struct reftable_iterator *it)
{ … }
void reftable_table_init_log_iter(struct reftable_table *tab,
struct reftable_iterator *it)
{ … }
int reftable_iterator_seek_ref(struct reftable_iterator *it,
const char *name)
{ … }
int reftable_iterator_seek_log_at(struct reftable_iterator *it,
const char *name, uint64_t update_index)
{ … }
int reftable_iterator_seek_log(struct reftable_iterator *it,
const char *name)
{ … }
int reftable_table_read_ref(struct reftable_table *tab, const char *name,
struct reftable_ref_record *ref)
{ … }
int reftable_table_print(struct reftable_table *tab) { … }
uint64_t reftable_table_max_update_index(struct reftable_table *tab)
{ … }
uint64_t reftable_table_min_update_index(struct reftable_table *tab)
{ … }
uint32_t reftable_table_hash_id(struct reftable_table *tab)
{ … }
void reftable_iterator_destroy(struct reftable_iterator *it)
{ … }
int reftable_iterator_next_ref(struct reftable_iterator *it,
struct reftable_ref_record *ref)
{ … }
int reftable_iterator_next_log(struct reftable_iterator *it,
struct reftable_log_record *log)
{ … }
int iterator_seek(struct reftable_iterator *it, struct reftable_record *want)
{ … }
int iterator_next(struct reftable_iterator *it, struct reftable_record *rec)
{ … }
static int empty_iterator_seek(void *arg, struct reftable_record *want)
{ … }
static int empty_iterator_next(void *arg, struct reftable_record *rec)
{ … }
static void empty_iterator_close(void *arg)
{ … }
static struct reftable_iterator_vtable empty_vtable = …;
void iterator_set_empty(struct reftable_iterator *it)
{ … }