aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h
index ea61be7..eddcaa3 100644
--- a/cgit.h
+++ b/cgit.h
@@ -27,7 +27,7 @@
27#define CMD_TREE 4 27#define CMD_TREE 4
28#define CMD_BLOB 5 28#define CMD_BLOB 5
29#define CMD_SNAPSHOT 6 29#define CMD_SNAPSHOT 6
30 30#define CMD_TAG 7
31 31
32/* 32/*
33 * Dateformats used on misc. pages 33 * Dateformats used on misc. pages
@@ -217,6 +217,8 @@ extern void cgit_commit_link(char *name, char *title, char *class, char *head,
217extern void cgit_diff_link(char *name, char *title, char *class, char *head, 217extern void cgit_diff_link(char *name, char *title, char *class, char *head,
218 char *new_rev, char *old_rev, char *path); 218 char *new_rev, char *old_rev, char *path);
219 219
220extern void cgit_object_link(struct object *obj);
221
220extern void cgit_print_error(char *msg); 222extern void cgit_print_error(char *msg);
221extern void cgit_print_date(time_t secs, char *format); 223extern void cgit_print_date(time_t secs, char *format);
222extern void cgit_print_age(time_t t, time_t max_relative, char *format); 224extern void cgit_print_age(time_t t, time_t max_relative, char *format);
@@ -233,6 +235,7 @@ extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *
233extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); 235extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path);
234extern void cgit_print_tree(const char *rev, char *path); 236extern void cgit_print_tree(const char *rev, char *path);
235extern void cgit_print_commit(char *hex); 237extern void cgit_print_commit(char *hex);
238extern void cgit_print_tag(char *revname);
236extern void cgit_print_diff(const char *new_hex, const char *old_hex); 239extern void cgit_print_diff(const char *new_hex, const char *old_hex);
237extern void cgit_print_snapshot(struct cacheitem *item, const char *hex, 240extern void cgit_print_snapshot(struct cacheitem *item, const char *hex,
238 const char *prefix, const char *filename, 241 const char *prefix, const char *filename,