git-tar-tree: no more void pointer arithmetic
[git.git] / blob.h
diff --git a/blob.h b/blob.h
index 5cbf6d6..ea5d9e9 100644 (file)
--- a/blob.h
+++ b/blob.h
@@ -9,6 +9,10 @@ struct blob {
        struct object object;
 };
 
-struct blob *lookup_blob(unsigned char *sha1);
+struct blob *lookup_blob(const unsigned char *sha1);
+
+int parse_blob_buffer(struct blob *item, void *buffer, unsigned long size);
+
+int parse_blob(struct blob *item);
 
 #endif /* BLOB_H */