Commit fa679339c433cf7b478f9badd37ec9e093a3f0af

Carlos Martín Nieto 2012-04-13T09:58:54

Add packfile_unpack_compressed() to the internal header

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/src/pack.h b/src/pack.h
index 7cf41c1..cd7a4d2 100644
--- a/src/pack.h
+++ b/src/pack.h
@@ -83,6 +83,13 @@ int git_packfile_unpack_header(
 		git_off_t *curpos);
 
 int git_packfile_unpack(git_rawobj *obj, struct git_pack_file *p, git_off_t *obj_offset);
+int packfile_unpack_compressed(
+	git_rawobj *obj,
+	struct git_pack_file *p,
+	git_mwindow **w_curs,
+	git_off_t *curpos,
+	size_t size,
+	git_otype type);
 
 git_off_t get_delta_base(struct git_pack_file *p, git_mwindow **w_curs,
 		git_off_t *curpos, git_otype type,