summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index ee8c716..a3b6535 100644
--- a/cgit.h
+++ b/cgit.h
@@ -212,13 +212,20 @@ extern void cgit_diff_tree(const unsigned char *old_sha1,
212extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); 212extern void cgit_diff_commit(struct commit *commit, filepair_fn fn);
213 213
214extern char *fmt(const char *format,...); 214extern char *fmt(const char *format,...);
215 215
216extern struct commitinfo *cgit_parse_commit(struct commit *commit); 216extern struct commitinfo *cgit_parse_commit(struct commit *commit);
217extern struct taginfo *cgit_parse_tag(struct tag *tag); 217extern struct taginfo *cgit_parse_tag(struct tag *tag);
218extern void cgit_parse_url(const char *url); 218extern void cgit_parse_url(const char *url);
219 219
220extern const char *cgit_repobasename(const char *reponame); 220extern const char *cgit_repobasename(const char *reponame);
221 221
222extern int cgit_parse_snapshots_mask(const char *str); 222extern int cgit_parse_snapshots_mask(const char *str);
223 223
224/* libgit.a either links against or compiles its own implementation of
225 * strcasestr(), and we'd like to reuse it. Simply re-declaring it
226 * seems to do the trick.
227 */
228extern char *strcasestr(const char *haystack, const char *needle);
229
230
224#endif /* CGIT_H */ 231#endif /* CGIT_H */