Change pack file format. Hopefully for the last time.
[git/git.git] / pack.h
1 #ifndef PACK_H
2 #define PACK_H
3
4 enum object_type {
5 OBJ_NONE,
6 OBJ_COMMIT,
7 OBJ_TREE,
8 OBJ_BLOB,
9 OBJ_TAG,
10 OBJ_DELTA,
11 };
12
13 /*
14 * Packed object header
15 */
16 #define PACK_SIGNATURE 0x5041434b /* "PACK" */
17 struct pack_header {
18 unsigned int hdr_signature;
19 unsigned int hdr_version;
20 unsigned int hdr_entries;
21 };
22
23 #endif