path: root/cgit.h
diff options
authorLars Hjemli <hjemli@gmail.com>2007-07-22 23:42:55 +0200
committerLars Hjemli <hjemli@gmail.com>2007-07-22 23:44:57 +0200
commit4e9107abfe8d3edff17826875b417bcf40dc7390 (patch)
tree96cfafa9b8838f34e1363ee3019eae64a6229b30 /cgit.h
parentmake gen-version.sh run even if . is not in PATH (diff)
Add ui-tag.c
This file implements the tag-command, i.e. printing of annotated tags. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h')
1 files changed, 4 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h
index 2ff5340..610a16d 100644
--- a/cgit.h
+++ b/cgit.h
@@ -27,7 +27,7 @@
#define CMD_TREE 4
#define CMD_BLOB 5
#define CMD_SNAPSHOT 6
+#define CMD_TAG 7
* Dateformats used on misc. pages
@@ -212,6 +212,8 @@ extern void cgit_commit_link(char *name, char *title, char *class, char *head,
extern void cgit_diff_link(char *name, char *title, char *class, char *head,
char *new_rev, char *old_rev, char *path);
+extern void cgit_object_link(struct object *obj);
extern void cgit_print_error(char *msg);
extern void cgit_print_date(time_t secs, char *format);
extern void cgit_print_age(time_t t, time_t max_relative, char *format);
@@ -228,6 +230,7 @@ extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *
extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path);
extern void cgit_print_tree(const char *rev, char *path);
extern void cgit_print_commit(char *hex);
+extern void cgit_print_tag(char *revname);
extern void cgit_print_diff(const char *new_hex, const char *old_hex);
extern void cgit_print_snapshot(struct cacheitem *item, const char *hex,
const char *format, const char *prefix,