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