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