libgit-thin: git_commit_committer(): avoid malloc() & memcpy()
[git/libgit-gsoc.git] / libgit-thin / ltrevlist.h
blobe8d267bea6cb3bfb5083eaf6bf6ec36324ff27d4
1 #ifndef LT_REVLIST_H
2 #define LT_REVLIST_H
4 struct git_revlist_opt;
6 int git_revlist_next(struct git_revlist_opt *opt, struct git_commit *commit);
7 void git_revlist_free(struct git_revlist_opt *opt);
8 struct git_revlist_opt *git_revlist_init(void);
9 int git_revlist_include(struct git_revlist_opt *opt, unsigned char *sha1);
10 int git_revlist_exclude(struct git_revlist_opt *opt, unsigned char *sha1);
11 int git_revlist_reverse(struct git_revlist_opt *opt);
12 int git_revlist_show_merges(struct git_revlist_opt *opt);
13 int git_revlist_max_count(struct git_revlist_opt *opt, size_t count);
15 #endif /* LT_REVLIST_H */