aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h
index a3b5385..2a3cd5a 100644
--- a/cgit.h
+++ b/cgit.h
@@ -15,6 +15,20 @@ struct cacheitem {
15 int fd; 15 int fd;
16}; 16};
17 17
18struct repoinfo {
19 char *url;
20 char *name;
21 char *path;
22 char *desc;
23 char *owner;
24};
25
26struct repolist {
27 int length;
28 int count;
29 struct repoinfo *repos;
30};
31
18struct commitinfo { 32struct commitinfo {
19 struct commit *commit; 33 struct commit *commit;
20 char *author; 34 char *author;
@@ -36,7 +50,9 @@ struct taginfo {
36 50
37extern const char cgit_version[]; 51extern const char cgit_version[];
38 52
39extern char *cgit_root; 53extern struct repolist cgit_repolist;
54extern struct repoinfo *cgit_repo;
55
40extern char *cgit_root_title; 56extern char *cgit_root_title;
41extern char *cgit_css; 57extern char *cgit_css;
42extern char *cgit_logo; 58extern char *cgit_logo;