diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-06-14 19:38:46 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-06-15 11:45:44 -0400 |
commit | 09631f5ed55f51b686814a31340c2fa80ac48b3d (patch) | |
tree | ceabc9840c327a95b90c74b8239ab2e8cf2df84f /ui-summary.h | |
parent | 5258c297ba6fb604ae1415fbc19a3fe42457e49e (diff) | |
download | cgit-ck/license.tar.gz cgit-ck/license.tar.zst cgit-ck/license.zip |
Add a license tabck/license
This tab is nearly identical to the about tab, use the license field in
cgitrc to set a list of files to check for or use repo.license or
cgit.license as a git-config key.
Diffstat (limited to 'ui-summary.h')
-rw-r--r-- | ui-summary.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui-summary.h b/ui-summary.h index cba696a..9592802 100644 --- a/ui-summary.h +++ b/ui-summary.h @@ -1,7 +1,9 @@ #ifndef UI_SUMMARY_H #define UI_SUMMARY_H +#include <string-list.h> + extern void cgit_print_summary(void); -extern void cgit_print_repo_readme(const char *path); +extern void cgit_print_repo_info_file(struct string_list file, const char *path); #endif /* UI_SUMMARY_H */ |