name-rev: use mem_pool_strfmt()
[git/gitster.git] / reftable / constants.h
blob5eee72c4c113457334d57019af196f19559435ed
1 /*
2 Copyright 2020 Google LLC
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 */
9 #ifndef CONSTANTS_H
10 #define CONSTANTS_H
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
18 #define MAX_RESTARTS ((1 << 16) - 1)
19 #define DEFAULT_BLOCK_SIZE 4096
21 #endif