summary refs log tree commit diff
path: root/ui-shared.h
diff options
context:
space:
mode:
authorequa <equaa@protonmail.com>2022-01-06 18:18:05 -0600
committerequa <equaa@protonmail.com>2022-01-06 18:36:08 -0600
commit99c81764f66c0877a7ed66f5a03d52f948377678 (patch)
tree97626b497daa42b067e2ba2a49f8f9f56a240f39 /ui-shared.h
parent5258c297ba6fb604ae1415fbc19a3fe42457e49e (diff)
Add "default-tab" and "root-default-tab" configuration options HEAD master
These options allow the user to specify a page to display at the root
repository/index location instead of the default summary or repository list.

Signed-off-by: equa <equaa@protonmail.com>
Diffstat (limited to 'ui-shared.h')
-rw-r--r--ui-shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-shared.h b/ui-shared.h
index 6964873..9faf2ba 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -17,6 +17,8 @@ extern void cgit_add_clone_urls(void (*fn)(const char *));
 
 extern void cgit_index_link(const char *name, const char *title,
 			    const char *class, const char *pattern, const char *sort, int ofs, int always_root);
+extern void cgit_repo_link(const char *name, const char *title,
+			   const char *class, const char *head);
 extern void cgit_summary_link(const char *name, const char *title,
 			      const char *class, const char *head);
 extern void cgit_tag_link(const char *name, const char *title,