|
diff --git a/cgit.h b/cgit.h index 91d18f8..ee8c716 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -188,13 +188,12 @@ extern struct cgit_repo *cgit_get_repoinfo(const char *url); |
188 | extern void cgit_repo_config_cb(const char *name, const char *value); |
188 | extern void cgit_repo_config_cb(const char *name, const char *value); |
189 | |
189 | |
190 | extern int chk_zero(int result, char *msg); |
190 | extern int chk_zero(int result, char *msg); |
191 | extern int chk_positive(int result, char *msg); |
191 | extern int chk_positive(int result, char *msg); |
192 | extern int chk_non_negative(int result, char *msg); |
192 | extern int chk_non_negative(int result, char *msg); |
193 | |
193 | |
194 | extern int hextoint(char c); |
| |
195 | extern char *trim_end(const char *str, char c); |
194 | extern char *trim_end(const char *str, char c); |
196 | extern char *strlpart(char *txt, int maxlen); |
195 | extern char *strlpart(char *txt, int maxlen); |
197 | extern char *strrpart(char *txt, int maxlen); |
196 | extern char *strrpart(char *txt, int maxlen); |
198 | |
197 | |
199 | extern void cgit_add_ref(struct reflist *list, struct refinfo *ref); |
198 | extern void cgit_add_ref(struct reflist *list, struct refinfo *ref); |
200 | extern int cgit_refs_cb(const char *refname, const unsigned char *sha1, |
199 | extern int cgit_refs_cb(const char *refname, const unsigned char *sha1, |
@@ -211,13 +210,12 @@ extern void cgit_diff_tree(const unsigned char *old_sha1, |
211 | filepair_fn fn, const char *prefix); |
210 | filepair_fn fn, const char *prefix); |
212 | |
211 | |
213 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |
212 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); |
214 | |
213 | |
215 | extern char *fmt(const char *format,...); |
214 | extern char *fmt(const char *format,...); |
216 | |
215 | |
217 | extern int cgit_parse_query(char *txt, configfn fn); |
| |
218 | extern struct commitinfo *cgit_parse_commit(struct commit *commit); |
216 | extern struct commitinfo *cgit_parse_commit(struct commit *commit); |
219 | extern struct taginfo *cgit_parse_tag(struct tag *tag); |
217 | extern struct taginfo *cgit_parse_tag(struct tag *tag); |
220 | extern void cgit_parse_url(const char *url); |
218 | extern void cgit_parse_url(const char *url); |
221 | |
219 | |
222 | extern const char *cgit_repobasename(const char *reponame); |
220 | extern const char *cgit_repobasename(const char *reponame); |
223 | |
221 | |
|