|
diff --git a/cgit.h b/cgit.h index 292e488..b7f8827 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -24,24 +24,25 @@ struct cacheitem { |
24 | char *name; |
24 | char *name; |
25 | struct stat st; |
25 | struct stat st; |
26 | int ttl; |
26 | int ttl; |
27 | int fd; |
27 | int fd; |
28 | }; |
28 | }; |
29 | |
29 | |
30 | struct repoinfo { |
30 | struct repoinfo { |
31 | char *url; |
31 | char *url; |
32 | char *name; |
32 | char *name; |
33 | char *path; |
33 | char *path; |
34 | char *desc; |
34 | char *desc; |
35 | char *owner; |
35 | char *owner; |
| |
36 | char *module_link; |
36 | int snapshots; |
37 | int snapshots; |
37 | }; |
38 | }; |
38 | |
39 | |
39 | struct repolist { |
40 | struct repolist { |
40 | int length; |
41 | int length; |
41 | int count; |
42 | int count; |
42 | struct repoinfo *repos; |
43 | struct repoinfo *repos; |
43 | }; |
44 | }; |
44 | |
45 | |
45 | struct commitinfo { |
46 | struct commitinfo { |
46 | struct commit *commit; |
47 | struct commit *commit; |
47 | char *author; |
48 | char *author; |
@@ -61,24 +62,25 @@ struct taginfo { |
61 | char *msg; |
62 | char *msg; |
62 | }; |
63 | }; |
63 | |
64 | |
64 | extern const char cgit_version[]; |
65 | extern const char cgit_version[]; |
65 | |
66 | |
66 | extern struct repolist cgit_repolist; |
67 | extern struct repolist cgit_repolist; |
67 | extern struct repoinfo *cgit_repo; |
68 | extern struct repoinfo *cgit_repo; |
68 | |
69 | |
69 | extern char *cgit_root_title; |
70 | extern char *cgit_root_title; |
70 | extern char *cgit_css; |
71 | extern char *cgit_css; |
71 | extern char *cgit_logo; |
72 | extern char *cgit_logo; |
72 | extern char *cgit_logo_link; |
73 | extern char *cgit_logo_link; |
| |
74 | extern char *cgit_module_link; |
73 | extern char *cgit_virtual_root; |
75 | extern char *cgit_virtual_root; |
74 | extern char *cgit_cache_root; |
76 | extern char *cgit_cache_root; |
75 | |
77 | |
76 | extern int cgit_nocache; |
78 | extern int cgit_nocache; |
77 | extern int cgit_snapshots; |
79 | extern int cgit_snapshots; |
78 | extern int cgit_max_lock_attempts; |
80 | extern int cgit_max_lock_attempts; |
79 | extern int cgit_cache_root_ttl; |
81 | extern int cgit_cache_root_ttl; |
80 | extern int cgit_cache_repo_ttl; |
82 | extern int cgit_cache_repo_ttl; |
81 | extern int cgit_cache_dynamic_ttl; |
83 | extern int cgit_cache_dynamic_ttl; |
82 | extern int cgit_cache_static_ttl; |
84 | extern int cgit_cache_static_ttl; |
83 | extern int cgit_cache_max_create_time; |
85 | extern int cgit_cache_max_create_time; |
84 | |
86 | |
|