git/reftable/stack.h

/*
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
*/

#ifndef STACK_H
#define STACK_H

#include "system.h"
#include "reftable-writer.h"
#include "reftable-stack.h"

struct reftable_stack {};

int read_lines(const char *filename, char ***lines);

struct segment {};

struct segment suggest_compaction_segment(uint64_t *sizes, size_t n,
					  uint8_t factor);

#endif