X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=blob.h;h=ea5d9e9f8b63be2c7048d19ee53feb06b0795c80;hb=b642d9ef643371990c0a921836f2a074d48ce1b3;hp=5cbf6d65ee88e1e0c0f1153af4aa7f80c3c48c16;hpb=b51ad4314078298194d23d46e2b4473ffd32a88a;p=git.git diff --git a/blob.h b/blob.h index 5cbf6d65..ea5d9e9f 100644 --- 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 */