repository: introduce parsed objects field
[gitweb.git] / object.h
index f13f85b2a94e3afc15debfbaf89416b5cda45acb..cecda7da370e28e008b8f4fd02c26b9d63c5e849 100644 (file)
--- a/object.h
+++ b/object.h
@@ -1,6 +1,14 @@
 #ifndef OBJECT_H
 #define OBJECT_H
 
+struct parsed_object_pool {
+       struct object **obj_hash;
+       int nr_objs, obj_hash_size;
+};
+
+struct parsed_object_pool *parsed_object_pool_new(void);
+void parsed_object_pool_clear(struct parsed_object_pool *o);
+
 struct object_list {
        struct object *item;
        struct object_list *next;