]>
Commit | Line | Data |
---|---|---|
e303bf22 HWN |
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 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 |