6 struct object_list
*next
;
15 unsigned char sha1
[20];
17 struct object_list
*refs
;
18 struct object_list
*attached_deltas
;
23 extern struct object
**objs
;
26 struct object
*lookup_object(const unsigned char *sha1
);
28 /** Returns the object, having looked it up as being the given type. **/
29 struct object
*lookup_object_type(const unsigned char *sha1
, const char *type
);
31 void created_object(const unsigned char *sha1
, struct object
*obj
);
33 /** Returns the object, having parsed it to find out what it is. **/
34 struct object
*parse_object(const unsigned char *sha1
);
36 void add_ref(struct object
*refer
, struct object
*target
);
38 void mark_reachable(struct object
*obj
, unsigned int mask
);