summaryrefslogtreecommitdiff
path: root/epoch.h
diff options
context:
space:
mode:
Diffstat (limited to 'epoch.h')
-rw-r--r--epoch.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/epoch.h b/epoch.h
new file mode 100644
index 0000000..585110b
--- /dev/null
+++ b/epoch.h
@@ -0,0 +1,20 @@
+#ifndef EPOCH_H
+#define EPOCH_H
+
+
+// return codes for emitter_func
+#define STOP 0
+#define CONTINUE 1
+#define DO 2
+typedef int (*emitter_func) (struct commit *);
+
+int sort_list_in_merge_order(struct commit_list *list, emitter_func emitter);
+
+#define UNINTERESTING (1u<<2)
+#define BOUNDARY (1u<<3)
+#define VISITED (1u<<4)
+#define DISCONTINUITY (1u<<5)
+#define DUPCHECK (1u<<6)
+
+
+#endif /* EPOCH_H */