summaryrefslogtreecommitdiff
path: root/pack.h
blob: 08e120dca664f43f8c12a2ce59cb28a67315500a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef PACK_H
#define PACK_H
 
enum object_type {
	OBJ_NONE,
	OBJ_COMMIT,
	OBJ_TREE,
	OBJ_BLOB,
	OBJ_TAG,
	OBJ_DELTA,
};
 
/*
 * Packed object header
 */
#define PACK_SIGNATURE 0x5041434b	/* "PACK" */
struct pack_header {
	unsigned int hdr_signature;
	unsigned int hdr_version;
	unsigned int hdr_entries;
};
 
#endif