git/reftable/merged.c

/*
Copyright 2020 Google LLC

Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd
*/

#include "merged.h"

#include "constants.h"
#include "iter.h"
#include "pq.h"
#include "reader.h"
#include "record.h"
#include "reftable-merged.h"
#include "reftable-error.h"
#include "system.h"

struct merged_subiter {};

struct merged_iter {};

static void merged_iter_close(void *p)
{}

static int merged_iter_advance_subiter(struct merged_iter *mi, size_t idx)
{}

static int merged_iter_seek(struct merged_iter *mi, struct reftable_record *want)
{}

static int merged_iter_next_entry(struct merged_iter *mi,
				  struct reftable_record *rec)
{}

static int merged_iter_seek_void(void *it, struct reftable_record *want)
{}

static int merged_iter_next_void(void *p, struct reftable_record *rec)
{}

static struct reftable_iterator_vtable merged_iter_vtable =;

static void iterator_from_merged_iter(struct reftable_iterator *it,
				      struct merged_iter *mi)
{}

int reftable_merged_table_new(struct reftable_merged_table **dest,
			      struct reftable_reader **readers, size_t n,
			      uint32_t hash_id)
{}

void reftable_merged_table_free(struct reftable_merged_table *mt)
{}

uint64_t
reftable_merged_table_max_update_index(struct reftable_merged_table *mt)
{}

uint64_t
reftable_merged_table_min_update_index(struct reftable_merged_table *mt)
{}

int merged_table_init_iter(struct reftable_merged_table *mt,
			   struct reftable_iterator *it,
			   uint8_t typ)
{}

int reftable_merged_table_init_ref_iterator(struct reftable_merged_table *mt,
					    struct reftable_iterator *it)
{}

int reftable_merged_table_init_log_iterator(struct reftable_merged_table *mt,
					    struct reftable_iterator *it)
{}

uint32_t reftable_merged_table_hash_id(struct reftable_merged_table *mt)
{}