list-objects.hon commit Merge branch 'nd/the-index' into md/list-objects-filter-by-depth (0aa9d8a)
   1#ifndef LIST_OBJECTS_H
   2#define LIST_OBJECTS_H
   3
   4struct commit;
   5struct object;
   6struct rev_info;
   7
   8typedef void (*show_commit_fn)(struct commit *, void *);
   9typedef void (*show_object_fn)(struct object *, const char *, void *);
  10void traverse_commit_list(struct rev_info *, show_commit_fn, show_object_fn, void *);
  11
  12typedef void (*show_edge_fn)(struct commit *);
  13void mark_edges_uninteresting(struct rev_info *, show_edge_fn);
  14
  15struct oidset;
  16struct list_objects_filter_options;
  17
  18void traverse_commit_list_filtered(
  19        struct list_objects_filter_options *filter_options,
  20        struct rev_info *revs,
  21        show_commit_fn show_commit,
  22        show_object_fn show_object,
  23        void *show_data,
  24        struct oidset *omitted);
  25
  26#endif /* LIST_OBJECTS_H */