git/reftable/iter.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 "iter.h"

#include "system.h"

#include "block.h"
#include "generic.h"
#include "constants.h"
#include "reader.h"
#include "reftable-error.h"

static void filtering_ref_iterator_close(void *iter_arg)
{}

static int filtering_ref_iterator_seek(void *iter_arg,
				       struct reftable_record *want)
{}

static int filtering_ref_iterator_next(void *iter_arg,
				       struct reftable_record *rec)
{}

static struct reftable_iterator_vtable filtering_ref_iterator_vtable =;

void iterator_from_filtering_ref_iterator(struct reftable_iterator *it,
					  struct filtering_ref_iterator *fri)
{}

static void indexed_table_ref_iter_close(void *p)
{}

static int indexed_table_ref_iter_next_block(struct indexed_table_ref_iter *it)
{}

static int indexed_table_ref_iter_seek(void *p, struct reftable_record *want)
{}

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

int new_indexed_table_ref_iter(struct indexed_table_ref_iter **dest,
			       struct reftable_reader *r, uint8_t *oid,
			       int oid_len, uint64_t *offsets, int offset_len)
{}

static struct reftable_iterator_vtable indexed_table_ref_iter_vtable =;

void iterator_from_indexed_table_ref_iter(struct reftable_iterator *it,
					  struct indexed_table_ref_iter *itr)
{}