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 "record.h"
#include "generic.h"
#include "reftable-merged.h"
#include "reftable-error.h"
#include "system.h"

struct merged_subiter {};

struct merged_iter {};

static void merged_iter_init(struct merged_iter *mi,
			     struct reftable_merged_table *mt,
			     uint8_t typ)
{}

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_new_merged_table(struct reftable_merged_table **dest,
			      struct reftable_table *stack, 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)
{}

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

uint32_t reftable_merged_table_hash_id(struct reftable_merged_table *mt)
{}

static void reftable_merged_table_init_iter_void(void *tab,
						 struct reftable_iterator *it,
						 uint8_t typ)
{}

static uint32_t reftable_merged_table_hash_id_void(void *tab)
{}

static uint64_t reftable_merged_table_min_update_index_void(void *tab)
{}

static uint64_t reftable_merged_table_max_update_index_void(void *tab)
{}

static struct reftable_table_vtable merged_table_vtable =;

void reftable_table_from_merged_table(struct reftable_table *tab,
				      struct reftable_merged_table *merged)
{}