1 #ifndef PACK_H
2 #define PACK_H
4 enum object_type {
5 OBJ_NONE,
6 OBJ_COMMIT,
7 OBJ_TREE,
8 OBJ_BLOB,
9 OBJ_TAG,
10 OBJ_DELTA,
11 };
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 };
23 #endif