X-Git-Url: https://git.octo.it/?p=git.git;a=blobdiff_plain;f=blob.h;h=ea5d9e9f8b63be2c7048d19ee53feb06b0795c80;hp=5cbf6d65ee88e1e0c0f1153af4aa7f80c3c48c16;hb=HEAD;hpb=6eb8ae00d4bceaf660a07d8bc5ab8d6ddccbe1af 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 */