summaryrefslogtreecommitdiff
path: root/src/odb.h
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-04-28 20:20:00 +0100
committerAndreas Ericsson <ae@op5.se>2010-04-30 09:48:07 +0200
commit89217d8f1a70da2916d611c989e6b046cdb94fca (patch)
treeed2292c12cde99459c5859362b45712deb1d5136 /src/odb.h
parent3cc606359d5ac5c869901d89d8f25cac348f4c98 (diff)
downloadlibgit2-89217d8f1a70da2916d611c989e6b046cdb94fca.tar.gz
Add functions to open a '*.pack' file and perform some basic validation
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Diffstat (limited to 'src/odb.h')
-rw-r--r--src/odb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/odb.h b/src/odb.h
index 2f205b20f..a45b803b8 100644
--- a/src/odb.h
+++ b/src/odb.h
@@ -16,4 +16,7 @@
*/
#define PACK_TOC 0xff744f63 /* -1tOc */
+/** First 4 bytes of a pack-*.pack file header. */
+#define PACK_SIG 0x5041434b /* PACK */
+
#endif