oidset: add iterator methods to oidset
[git/git.git] / list-objects.h
1 #ifndef LIST_OBJECTS_H
2 #define LIST_OBJECTS_H
3
4 typedef void (*show_commit_fn)(struct commit *, void *);
5 typedef void (*show_object_fn)(struct object *, const char *, void *);
6 void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);
7
8 typedef void (*show_edge_fn)(struct commit *);
9 void mark_edges_uninteresting(struct rev_info *, show_edge_fn);
10
11 #endif