1#ifndef PACK_H
2#define PACK_H
34
#include "object.h"
56
/*
7* Packed object header
8*/
9#define PACK_SIGNATURE 0x5041434b /* "PACK" */
10#define PACK_VERSION 2
11#define pack_version_ok(v) ((v) == htonl(2) || (v) == htonl(3))
12struct pack_header {
13unsigned int hdr_signature;
14unsigned int hdr_version;
15unsigned int hdr_entries;
16};
1718
extern int verify_pack(struct packed_git *, int);
19#endif