From eb45342e735818b3c68cbab9b61b23e79ae74418 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 23 Jul 2007 00:11:15 +0200 Subject: cgit_print_snapshot_links: use url to specify snapshot name Signed-off-by: Lars Hjemli --- ui-shared.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ui-shared.c') diff --git a/ui-shared.c b/ui-shared.c index ca2ee82..5c5bcf3 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -227,6 +227,12 @@ void cgit_commit_link(char *name, char *title, char *class, char *head, reporevlink("commit", name, title, class, head, rev, NULL); } +void cgit_snapshot_link(char *name, char *title, char *class, char *head, + char *rev, char *archivename) +{ + reporevlink("snapshot", name, title, class, head, rev, archivename); +} + void cgit_diff_link(char *name, char *title, char *class, char *head, char *new_rev, char *old_rev, char *path) { -- cgit v1.2.3-59-g8ed1b