summaryrefslogtreecommitdiffabout
path: root/cgit.h
authorLars Hjemli <hjemli@gmail.com>2006-12-11 15:48:03 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2006-12-11 15:49:18 (UTC)
commit74620f12e4f7e91cb0a0b4ca731e07272d1b65f6 (patch) (side-by-side diff)
tree2e4db980535682c0a606d425b2937126d4b2c09b /cgit.h
parent5a106eb09b9b5e189b96cc736046a92b054f6c7f (diff)
downloadcgit-74620f12e4f7e91cb0a0b4ca731e07272d1b65f6.zip
cgit-74620f12e4f7e91cb0a0b4ca731e07272d1b65f6.tar.gz
cgit-74620f12e4f7e91cb0a0b4ca731e07272d1b65f6.tar.bz2
Move functions for repolist output into ui-repolist.c
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h') (more/less context) (show whitespace changes)
-rw-r--r--cgit.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index e64fbd7..bf5bd8d 100644
--- a/cgit.h
+++ b/cgit.h
@@ -62,13 +62,21 @@ extern int cgit_parse_query(char *txt, configfn fn);
extern void cache_prepare(struct cacheitem *item);
extern int cache_lock(struct cacheitem *item);
extern int cache_unlock(struct cacheitem *item);
extern int cache_exist(struct cacheitem *item);
extern int cache_expired(struct cacheitem *item);
+extern char *cgit_repourl(const char *reponame);
+extern char *cgit_pageurl(const char *reponame, const char *pagename,
+ const char *query);
+
extern void cgit_print_error(char *msg);
extern void cgit_print_docstart(char *title, struct cacheitem *item);
extern void cgit_print_docend();
extern void cgit_print_pageheader(char *title);
+extern void cgit_print_repolist(struct cacheitem *item);
+
+
+extern void cgit_repo_config_cb(const char *name, const char *value);
#endif /* CGIT_H */