]> git.ipfire.org Git - thirdparty/git.git/blame - reftable/blocksource.h
CodingGuidelines: quote assigned value in 'local var=$val'
[thirdparty/git.git] / reftable / blocksource.h
CommitLineData
1214aa84
HWN
1/*
2Copyright 2020 Google LLC
3
4Use of this source code is governed by a BSD-style
5license that can be found in the LICENSE file or at
6https://developers.google.com/open-source/licenses/bsd
7*/
8
9#ifndef BLOCKSOURCE_H
10#define BLOCKSOURCE_H
11
12#include "system.h"
13
14struct reftable_block_source;
15
16/* Create an in-memory block source for reading reftables */
17void block_source_from_strbuf(struct reftable_block_source *bs,
18 struct strbuf *buf);
19
20struct reftable_block_source malloc_block_source(void);
21
22#endif