summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h2
1 files changed, 0 insertions, 2 deletions
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);
188extern void cgit_repo_config_cb(const char *name, const char *value); 188extern void cgit_repo_config_cb(const char *name, const char *value);
189 189
190extern int chk_zero(int result, char *msg); 190extern int chk_zero(int result, char *msg);
191extern int chk_positive(int result, char *msg); 191extern int chk_positive(int result, char *msg);
192extern int chk_non_negative(int result, char *msg); 192extern int chk_non_negative(int result, char *msg);
193 193
194extern int hextoint(char c);
195extern char *trim_end(const char *str, char c); 194extern char *trim_end(const char *str, char c);
196extern char *strlpart(char *txt, int maxlen); 195extern char *strlpart(char *txt, int maxlen);
197extern char *strrpart(char *txt, int maxlen); 196extern char *strrpart(char *txt, int maxlen);
198 197
199extern void cgit_add_ref(struct reflist *list, struct refinfo *ref); 198extern void cgit_add_ref(struct reflist *list, struct refinfo *ref);
200extern int cgit_refs_cb(const char *refname, const unsigned char *sha1, 199extern 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
213extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); 212extern void cgit_diff_commit(struct commit *commit, filepair_fn fn);
214 213
215extern char *fmt(const char *format,...); 214extern char *fmt(const char *format,...);
216 215
217extern int cgit_parse_query(char *txt, configfn fn);
218extern struct commitinfo *cgit_parse_commit(struct commit *commit); 216extern struct commitinfo *cgit_parse_commit(struct commit *commit);
219extern struct taginfo *cgit_parse_tag(struct tag *tag); 217extern struct taginfo *cgit_parse_tag(struct tag *tag);
220extern void cgit_parse_url(const char *url); 218extern void cgit_parse_url(const char *url);
221 219
222extern const char *cgit_repobasename(const char *reponame); 220extern const char *cgit_repobasename(const char *reponame);
223 221