summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (show whitespace changes)
-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
@@ -16,4 +16,18 @@ struct cacheitem {
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;
@@ -37,5 +51,7 @@ struct taginfo {
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;