11 #define OID_ARRAY_INIT { NULL, 0, 0, 0 }
13 void oid_array_append(struct oid_array *array, const struct object_id *oid);
14 int oid_array_lookup(struct oid_array *array, const struct object_id *oid);
15 void oid_array_clear(struct oid_array *array);
17 typedef int (*for_each_oid_fn)(const struct object_id *oid,
19 int oid_array_for_each(struct oid_array *array,
22 int oid_array_for_each_unique(struct oid_array *array,
25 void oid_array_filter(struct oid_array *array,
29 #endif /* SHA1_ARRAY_H */