🌐 AI搜索 & 代理 主页
blob: 7493d5a241212203e4f7527958128f25c5093ca0 [file] [log] [blame]
jon@blackcubes.dyndns.orga3437b82005-06-06 15:39:401#ifndef EPOCH_H
2#define EPOCH_H
3
4
5// return codes for emitter_func
6#define STOP 0
7#define CONTINUE 1
8#define DO 2
9typedef int (*emitter_func) (struct commit *);
10
11int sort_list_in_merge_order(struct commit_list *list, emitter_func emitter);
12
Linus Torvaldsbce62862005-07-06 16:56:1613/* Low bits are used by rev-list */
14#define UNINTERESTING (1u<<10)
15#define BOUNDARY (1u<<11)
16#define VISITED (1u<<12)
17#define DISCONTINUITY (1u<<13)
18#define LAST_EPOCH_FLAG (1u<<14)
jon@blackcubes.dyndns.orga3437b82005-06-06 15:39:4019
20
Jon Seymour51b1e172005-06-20 02:29:3821#endif /* EPOCH_H */