|
diff --git a/cgit.h b/cgit.h index e0879bd..8927236 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -34,32 +34,33 @@ typedef void (*filepair_fn)(struct diff_filepair *pair); |
34 | typedef void (*linediff_fn)(char *line, int len); |
34 | typedef void (*linediff_fn)(char *line, int len); |
35 | |
35 | |
36 | struct cacheitem { |
36 | struct cacheitem { |
37 | char *name; |
37 | char *name; |
38 | struct stat st; |
38 | struct stat st; |
39 | int ttl; |
39 | int ttl; |
40 | int fd; |
40 | int fd; |
41 | }; |
41 | }; |
42 | |
42 | |
43 | struct repoinfo { |
43 | struct repoinfo { |
44 | char *url; |
44 | char *url; |
45 | char *name; |
45 | char *name; |
46 | char *path; |
46 | char *path; |
47 | char *desc; |
47 | char *desc; |
48 | char *owner; |
48 | char *owner; |
49 | char *defbranch; |
49 | char *defbranch; |
| |
50 | char *group; |
50 | char *module_link; |
51 | char *module_link; |
51 | int snapshots; |
52 | int snapshots; |
52 | int enable_log_filecount; |
53 | int enable_log_filecount; |
53 | int enable_log_linecount; |
54 | int enable_log_linecount; |
54 | }; |
55 | }; |
55 | |
56 | |
56 | struct repolist { |
57 | struct repolist { |
57 | int length; |
58 | int length; |
58 | int count; |
59 | int count; |
59 | struct repoinfo *repos; |
60 | struct repoinfo *repos; |
60 | }; |
61 | }; |
61 | |
62 | |
62 | struct commitinfo { |
63 | struct commitinfo { |
63 | struct commit *commit; |
64 | struct commit *commit; |
64 | char *author; |
65 | char *author; |
65 | char *author_email; |
66 | char *author_email; |
@@ -80,32 +81,33 @@ struct taginfo { |
80 | |
81 | |
81 | extern const char cgit_version[]; |
82 | extern const char cgit_version[]; |
82 | |
83 | |
83 | extern struct repolist cgit_repolist; |
84 | extern struct repolist cgit_repolist; |
84 | extern struct repoinfo *cgit_repo; |
85 | extern struct repoinfo *cgit_repo; |
85 | extern int cgit_cmd; |
86 | extern int cgit_cmd; |
86 | |
87 | |
87 | extern char *cgit_root_title; |
88 | extern char *cgit_root_title; |
88 | extern char *cgit_css; |
89 | extern char *cgit_css; |
89 | extern char *cgit_logo; |
90 | extern char *cgit_logo; |
90 | extern char *cgit_index_header; |
91 | extern char *cgit_index_header; |
91 | extern char *cgit_logo_link; |
92 | extern char *cgit_logo_link; |
92 | extern char *cgit_module_link; |
93 | extern char *cgit_module_link; |
93 | extern char *cgit_virtual_root; |
94 | extern char *cgit_virtual_root; |
94 | extern char *cgit_script_name; |
95 | extern char *cgit_script_name; |
95 | extern char *cgit_cache_root; |
96 | extern char *cgit_cache_root; |
| |
97 | extern char *cgit_repo_group; |
96 | |
98 | |
97 | extern int cgit_nocache; |
99 | extern int cgit_nocache; |
98 | extern int cgit_snapshots; |
100 | extern int cgit_snapshots; |
99 | extern int cgit_enable_log_filecount; |
101 | extern int cgit_enable_log_filecount; |
100 | extern int cgit_enable_log_linecount; |
102 | extern int cgit_enable_log_linecount; |
101 | extern int cgit_max_lock_attempts; |
103 | extern int cgit_max_lock_attempts; |
102 | extern int cgit_cache_root_ttl; |
104 | extern int cgit_cache_root_ttl; |
103 | extern int cgit_cache_repo_ttl; |
105 | extern int cgit_cache_repo_ttl; |
104 | extern int cgit_cache_dynamic_ttl; |
106 | extern int cgit_cache_dynamic_ttl; |
105 | extern int cgit_cache_static_ttl; |
107 | extern int cgit_cache_static_ttl; |
106 | extern int cgit_cache_max_create_time; |
108 | extern int cgit_cache_max_create_time; |
107 | |
109 | |
108 | extern int cgit_max_msg_len; |
110 | extern int cgit_max_msg_len; |
109 | extern int cgit_max_repodesc_len; |
111 | extern int cgit_max_repodesc_len; |
110 | extern int cgit_max_commit_count; |
112 | extern int cgit_max_commit_count; |
111 | |
113 | |
|