Staging
v0.5.1
https://github.com/git/git
Revision baf0bfcb4b335438e9359835f2c27cccf20e54a3 authored by Junio C Hamano on 08 November 2006, 00:36:11 UTC, committed by Junio C Hamano on 08 November 2006, 00:36:11 UTC
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent c56f243
Raw File
Tip revision: baf0bfcb4b335438e9359835f2c27cccf20e54a3 authored by Junio C Hamano on 08 November 2006, 00:36:11 UTC
GIT 1.4.3-rc1
Tip revision: baf0bfc
pack.h
#ifndef PACK_H
#define PACK_H

#include "object.h"

/*
 * Packed object header
 */
#define PACK_SIGNATURE 0x5041434b	/* "PACK" */
#define PACK_VERSION 2
#define pack_version_ok(v) ((v) == htonl(2) || (v) == htonl(3))
struct pack_header {
	unsigned int hdr_signature;
	unsigned int hdr_version;
	unsigned int hdr_entries;
};

extern int verify_pack(struct packed_git *, int);
#endif
back to top