6 struct object_list
*next
;
14 unsigned char sha1
[20];
16 struct object_list
*refs
;
21 extern struct object
**objs
;
24 struct object
*lookup_object(const unsigned char *sha1
);
26 /** Returns the object, having looked it up as being the given type. **/
27 struct object
*lookup_object_type(const unsigned char *sha1
, const char *type
);
29 void created_object(const unsigned char *sha1
, struct object
*obj
);
31 /** Returns the object, having parsed it to find out what it is. **/
32 struct object
*parse_object(const unsigned char *sha1
);
34 void add_ref(struct object
*refer
, struct object
*target
);
36 void mark_reachable(struct object
*obj
, unsigned int mask
);