|
diff --git a/cgit.h b/cgit.h index 9b517a7..a3b5385 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -31,48 +31,50 @@ struct taginfo { |
31 | char *tagger; |
31 | char *tagger; |
32 | char *tagger_email; |
32 | char *tagger_email; |
33 | int tagger_date; |
33 | int tagger_date; |
34 | char *msg; |
34 | char *msg; |
35 | }; |
35 | }; |
36 | |
36 | |
37 | extern const char cgit_version[]; |
37 | extern const char cgit_version[]; |
38 | |
38 | |
39 | extern char *cgit_root; |
39 | extern char *cgit_root; |
40 | extern char *cgit_root_title; |
40 | extern char *cgit_root_title; |
41 | extern char *cgit_css; |
41 | extern char *cgit_css; |
42 | extern char *cgit_logo; |
42 | extern char *cgit_logo; |
43 | extern char *cgit_logo_link; |
43 | extern char *cgit_logo_link; |
44 | extern char *cgit_virtual_root; |
44 | extern char *cgit_virtual_root; |
45 | extern char *cgit_cache_root; |
45 | extern char *cgit_cache_root; |
46 | |
46 | |
47 | extern int cgit_nocache; |
47 | extern int cgit_nocache; |
48 | extern int cgit_max_lock_attempts; |
48 | extern int cgit_max_lock_attempts; |
49 | extern int cgit_cache_root_ttl; |
49 | extern int cgit_cache_root_ttl; |
50 | extern int cgit_cache_repo_ttl; |
50 | extern int cgit_cache_repo_ttl; |
51 | extern int cgit_cache_dynamic_ttl; |
51 | extern int cgit_cache_dynamic_ttl; |
52 | extern int cgit_cache_static_ttl; |
52 | extern int cgit_cache_static_ttl; |
53 | extern int cgit_cache_max_create_time; |
53 | extern int cgit_cache_max_create_time; |
54 | |
54 | |
| |
55 | extern int cgit_max_msg_len; |
| |
56 | |
55 | extern char *cgit_repo_name; |
57 | extern char *cgit_repo_name; |
56 | extern char *cgit_repo_desc; |
58 | extern char *cgit_repo_desc; |
57 | extern char *cgit_repo_owner; |
59 | extern char *cgit_repo_owner; |
58 | |
60 | |
59 | extern int cgit_query_has_symref; |
61 | extern int cgit_query_has_symref; |
60 | extern int cgit_query_has_sha1; |
62 | extern int cgit_query_has_sha1; |
61 | |
63 | |
62 | extern char *cgit_querystring; |
64 | extern char *cgit_querystring; |
63 | extern char *cgit_query_repo; |
65 | extern char *cgit_query_repo; |
64 | extern char *cgit_query_page; |
66 | extern char *cgit_query_page; |
65 | extern char *cgit_query_search; |
67 | extern char *cgit_query_search; |
66 | extern char *cgit_query_head; |
68 | extern char *cgit_query_head; |
67 | extern char *cgit_query_sha1; |
69 | extern char *cgit_query_sha1; |
68 | extern char *cgit_query_sha2; |
70 | extern char *cgit_query_sha2; |
69 | extern char *cgit_query_path; |
71 | extern char *cgit_query_path; |
70 | extern int cgit_query_ofs; |
72 | extern int cgit_query_ofs; |
71 | |
73 | |
72 | extern int htmlfd; |
74 | extern int htmlfd; |
73 | |
75 | |
74 | extern void cgit_global_config_cb(const char *name, const char *value); |
76 | extern void cgit_global_config_cb(const char *name, const char *value); |
75 | extern void cgit_repo_config_cb(const char *name, const char *value); |
77 | extern void cgit_repo_config_cb(const char *name, const char *value); |
76 | extern void cgit_querystring_cb(const char *name, const char *value); |
78 | extern void cgit_querystring_cb(const char *name, const char *value); |
77 | |
79 | |
78 | extern int hextoint(char c); |
80 | extern int hextoint(char c); |
|