summaryrefslogtreecommitdiff
path: root/packfile.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 15:20:27 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-23 15:12:07 -0700
commit32b42e152fcc453273fadb5a7d639e4e9b506783 (patch)
tree263a76fc30d72df6178c00298dd91e7bfd92c724 /packfile.h
parent0abe14f6a5b7681b4ea02d1bd0a64332587ae053 (diff)
downloadgit-32b42e152fcc453273fadb5a7d639e4e9b506783.tar.gz
pack: move unpack_object_header_buffer()
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'packfile.h')
-rw-r--r--packfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/packfile.h b/packfile.h
index 97246ca1ad..3954e3ec48 100644
--- a/packfile.h
+++ b/packfile.h
@@ -62,6 +62,8 @@ extern void close_all_packs(void);
extern void unuse_pack(struct pack_window **);
extern struct packed_git *add_packed_git(const char *path, size_t path_len, int local);
+extern unsigned long unpack_object_header_buffer(const unsigned char *buf, unsigned long len, enum object_type *type, unsigned long *sizep);
+
extern void release_pack_memory(size_t);
extern int open_packed_git(struct packed_git *p);