|
diff --git a/cgit.h b/cgit.h index f3d783e..8a69a1f 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -27,24 +27,25 @@ struct cacheitem { |
27 | struct stat st; |
27 | struct stat st; |
28 | int ttl; |
28 | int ttl; |
29 | int fd; |
29 | int fd; |
30 | }; |
30 | }; |
31 | |
31 | |
32 | struct repoinfo { |
32 | struct repoinfo { |
33 | char *url; |
33 | char *url; |
34 | char *name; |
34 | char *name; |
35 | char *path; |
35 | char *path; |
36 | char *desc; |
36 | char *desc; |
37 | char *owner; |
37 | char *owner; |
38 | char *defbranch; |
38 | char *defbranch; |
| |
39 | char *group; |
39 | char *module_link; |
40 | char *module_link; |
40 | int snapshots; |
41 | int snapshots; |
41 | int enable_log_filecount; |
42 | int enable_log_filecount; |
42 | int enable_log_linecount; |
43 | int enable_log_linecount; |
43 | }; |
44 | }; |
44 | |
45 | |
45 | struct repolist { |
46 | struct repolist { |
46 | int length; |
47 | int length; |
47 | int count; |
48 | int count; |
48 | struct repoinfo *repos; |
49 | struct repoinfo *repos; |
49 | }; |
50 | }; |
50 | |
51 | |
@@ -71,24 +72,25 @@ extern const char cgit_version[]; |
71 | |
72 | |
72 | extern struct repolist cgit_repolist; |
73 | extern struct repolist cgit_repolist; |
73 | extern struct repoinfo *cgit_repo; |
74 | extern struct repoinfo *cgit_repo; |
74 | |
75 | |
75 | extern char *cgit_root_title; |
76 | extern char *cgit_root_title; |
76 | extern char *cgit_css; |
77 | extern char *cgit_css; |
77 | extern char *cgit_logo; |
78 | extern char *cgit_logo; |
78 | extern char *cgit_logo_link; |
79 | extern char *cgit_logo_link; |
79 | extern char *cgit_module_link; |
80 | extern char *cgit_module_link; |
80 | extern char *cgit_virtual_root; |
81 | extern char *cgit_virtual_root; |
81 | extern char *cgit_script_name; |
82 | extern char *cgit_script_name; |
82 | extern char *cgit_cache_root; |
83 | extern char *cgit_cache_root; |
| |
84 | extern char *cgit_repo_group; |
83 | |
85 | |
84 | extern int cgit_nocache; |
86 | extern int cgit_nocache; |
85 | extern int cgit_snapshots; |
87 | extern int cgit_snapshots; |
86 | extern int cgit_enable_log_filecount; |
88 | extern int cgit_enable_log_filecount; |
87 | extern int cgit_enable_log_linecount; |
89 | extern int cgit_enable_log_linecount; |
88 | extern int cgit_max_lock_attempts; |
90 | extern int cgit_max_lock_attempts; |
89 | extern int cgit_cache_root_ttl; |
91 | extern int cgit_cache_root_ttl; |
90 | extern int cgit_cache_repo_ttl; |
92 | extern int cgit_cache_repo_ttl; |
91 | extern int cgit_cache_dynamic_ttl; |
93 | extern int cgit_cache_dynamic_ttl; |
92 | extern int cgit_cache_static_ttl; |
94 | extern int cgit_cache_static_ttl; |
93 | extern int cgit_cache_max_create_time; |
95 | extern int cgit_cache_max_create_time; |
94 | |
96 | |
|