blob: d65dbf03e657facb29a2846144eda2fa3687bc2f [file] [log] [blame]
Junio C Hamanoc64ed702006-09-04 21:50:12 -07001#ifndef LIST_OBJECTS_H
2#define LIST_OBJECTS_H
3
Christian Couder11c211f2009-04-06 21:28:36 +02004typedef void (*show_commit_fn)(struct commit *, void *);
Linus Torvaldscf2ab912009-04-10 18:15:26 -07005typedef void (*show_object_fn)(struct object *, const struct name_path *, const char *);
Junio C Hamano8d1d8f82006-09-06 01:42:23 -07006typedef void (*show_edge_fn)(struct commit *);
7
Christian Couder11c211f2009-04-06 21:28:36 +02008void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);
Junio C Hamano8d1d8f82006-09-06 01:42:23 -07009
10void mark_edges_uninteresting(struct commit_list *, struct rev_info *, show_edge_fn);
Junio C Hamanoc64ed702006-09-04 21:50:12 -070011
12#endif