]> git.ipfire.org Git - thirdparty/git.git/blame - reftable/constants.h
Merge branch 'rj/use-adv-if-enabled'
[thirdparty/git.git] / reftable / constants.h
CommitLineData
e303bf22
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 CONSTANTS_H
10#define CONSTANTS_H
11
12#define BLOCK_TYPE_LOG 'g'
13#define BLOCK_TYPE_INDEX 'i'
14#define BLOCK_TYPE_REF 'r'
15#define BLOCK_TYPE_OBJ 'o'
16#define BLOCK_TYPE_ANY 0
17
18#define MAX_RESTARTS ((1 << 16) - 1)
19#define DEFAULT_BLOCK_SIZE 4096
20
21#endif