summaryrefslogtreecommitdiff
path: root/src/pack.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-10-03 16:54:25 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-10-04 10:18:20 +0200
commit51e82492ef5206767e176952733914275d0e3bdc (patch)
tree44ed00901ac72d8cb9d92dc27d90b06f576b55a6 /src/pack.h
parentcf0582b43ce591e7923637d2c8925028aaa5977b (diff)
downloadlibgit2-51e82492ef5206767e176952733914275d0e3bdc.tar.gz
pack: move the object header function here
Diffstat (limited to 'src/pack.h')
-rw-r--r--src/pack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pack.h b/src/pack.h
index aeeac9ce1..ddeefea1d 100644
--- a/src/pack.h
+++ b/src/pack.h
@@ -112,6 +112,8 @@ typedef struct git_packfile_stream {
git_mwindow *mw;
} git_packfile_stream;
+int git_packfile__object_header(unsigned char *hdr, unsigned long size, git_otype type);
+
int git_packfile_unpack_header(
size_t *size_p,
git_otype *type_p,