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, 1 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h
index ddb2fff..a59a370 100644
--- a/cgit.h
+++ b/cgit.h
@@ -193,33 +193,33 @@ extern struct taginfo *cgit_parse_tag(struct tag *tag);
193extern void cgit_parse_url(const char *url); 193extern void cgit_parse_url(const char *url);
194 194
195extern char *cache_safe_filename(const char *unsafe); 195extern char *cache_safe_filename(const char *unsafe);
196extern int cache_lock(struct cacheitem *item); 196extern int cache_lock(struct cacheitem *item);
197extern int cache_unlock(struct cacheitem *item); 197extern int cache_unlock(struct cacheitem *item);
198extern int cache_cancel_lock(struct cacheitem *item); 198extern int cache_cancel_lock(struct cacheitem *item);
199extern int cache_exist(struct cacheitem *item); 199extern int cache_exist(struct cacheitem *item);
200extern int cache_expired(struct cacheitem *item); 200extern int cache_expired(struct cacheitem *item);
201 201
202extern char *cgit_repourl(const char *reponame); 202extern char *cgit_repourl(const char *reponame);
203extern char *cgit_pageurl(const char *reponame, const char *pagename, 203extern char *cgit_pageurl(const char *reponame, const char *pagename,
204 const char *query); 204 const char *query);
205 205
206extern void cgit_tree_link(char *name, char *title, char *class, char *head, 206extern void cgit_tree_link(char *name, char *title, char *class, char *head,
207 char *rev, char *path); 207 char *rev, char *path);
208extern void cgit_log_link(char *name, char *title, char *class, char *head, 208extern void cgit_log_link(char *name, char *title, char *class, char *head,
209 char *rev, char *path); 209 char *rev, char *path, int ofs);
210extern void cgit_commit_link(char *name, char *title, char *class, char *head, 210extern void cgit_commit_link(char *name, char *title, char *class, char *head,
211 char *rev); 211 char *rev);
212extern void cgit_diff_link(char *name, char *title, char *class, char *head, 212extern void cgit_diff_link(char *name, char *title, char *class, char *head,
213 char *new_rev, char *old_rev, char *path); 213 char *new_rev, char *old_rev, char *path);
214 214
215extern void cgit_print_error(char *msg); 215extern void cgit_print_error(char *msg);
216extern void cgit_print_date(time_t secs, char *format); 216extern void cgit_print_date(time_t secs, char *format);
217extern void cgit_print_age(time_t t, time_t max_relative, char *format); 217extern void cgit_print_age(time_t t, time_t max_relative, char *format);
218extern void cgit_print_docstart(char *title, struct cacheitem *item); 218extern void cgit_print_docstart(char *title, struct cacheitem *item);
219extern void cgit_print_docend(); 219extern void cgit_print_docend();
220extern void cgit_print_pageheader(char *title, int show_search); 220extern void cgit_print_pageheader(char *title, int show_search);
221extern void cgit_print_snapshot_start(const char *mimetype, 221extern void cgit_print_snapshot_start(const char *mimetype,
222 const char *filename, 222 const char *filename,
223 struct cacheitem *item); 223 struct cacheitem *item);
224 224
225extern void cgit_print_repolist(struct cacheitem *item); 225extern void cgit_print_repolist(struct cacheitem *item);