streaming: a new API to read from the object store
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 3a1af9d958bfc5c6c0dbdd1dd1a5907c032a032d..7650d2e691e9d7e4a9ef7aca437b59ee2a198652 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -1021,6 +1021,7 @@ extern void *unpack_entry(struct packed_git *, off_t, enum object_type *, unsign
 extern unsigned long unpack_object_header_buffer(const unsigned char *buf, unsigned long len, enum object_type *type, unsigned long *sizep);
 extern unsigned long get_size_from_delta(struct packed_git *, struct pack_window **, off_t);
 extern int packed_object_info_detail(struct packed_git *, off_t, unsigned long *, unsigned long *, unsigned int *, unsigned char *);
+extern int unpack_object_header(struct packed_git *, struct pack_window **, off_t *, unsigned long *);
 
 struct object_info {
        /* Request */