author | Lars Hjemli <hjemli@gmail.com> | 2006-12-11 15:48:03 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2006-12-11 15:49:18 (UTC) |
commit | 74620f12e4f7e91cb0a0b4ca731e07272d1b65f6 (patch) (unidiff) | |
tree | 2e4db980535682c0a606d425b2937126d4b2c09b /cgit.h | |
parent | 5a106eb09b9b5e189b96cc736046a92b054f6c7f (diff) | |
download | cgit-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>
-rw-r--r-- | cgit.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -56,19 +56,27 @@ extern void html_attr(char *txt); | |||
56 | extern void html_link_open(char *url, char *title, char *class); | 56 | extern void html_link_open(char *url, char *title, char *class); |
57 | extern void html_link_close(void); | 57 | extern void html_link_close(void); |
58 | 58 | ||
59 | extern int cgit_read_config(const char *filename, configfn fn); | 59 | extern int cgit_read_config(const char *filename, configfn fn); |
60 | extern int cgit_parse_query(char *txt, configfn fn); | 60 | extern int cgit_parse_query(char *txt, configfn fn); |
61 | 61 | ||
62 | extern void cache_prepare(struct cacheitem *item); | 62 | extern void cache_prepare(struct cacheitem *item); |
63 | extern int cache_lock(struct cacheitem *item); | 63 | extern int cache_lock(struct cacheitem *item); |
64 | extern int cache_unlock(struct cacheitem *item); | 64 | extern int cache_unlock(struct cacheitem *item); |
65 | extern int cache_exist(struct cacheitem *item); | 65 | extern int cache_exist(struct cacheitem *item); |
66 | extern int cache_expired(struct cacheitem *item); | 66 | extern int cache_expired(struct cacheitem *item); |
67 | 67 | ||
68 | extern char *cgit_repourl(const char *reponame); | ||
69 | extern char *cgit_pageurl(const char *reponame, const char *pagename, | ||
70 | const char *query); | ||
71 | |||
68 | extern void cgit_print_error(char *msg); | 72 | extern void cgit_print_error(char *msg); |
69 | extern void cgit_print_docstart(char *title, struct cacheitem *item); | 73 | extern void cgit_print_docstart(char *title, struct cacheitem *item); |
70 | extern void cgit_print_docend(); | 74 | extern void cgit_print_docend(); |
71 | extern void cgit_print_pageheader(char *title); | 75 | extern void cgit_print_pageheader(char *title); |
72 | 76 | ||
77 | extern void cgit_print_repolist(struct cacheitem *item); | ||
78 | |||
79 | |||
80 | extern void cgit_repo_config_cb(const char *name, const char *value); | ||
73 | 81 | ||
74 | #endif /* CGIT_H */ | 82 | #endif /* CGIT_H */ |