summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 0fff7b0..f5906ad 100644
--- a/cgit.h
+++ b/cgit.h
@@ -46,64 +46,65 @@ struct repolist {
46}; 46};
47 47
48struct commitinfo { 48struct commitinfo {
49 struct commit *commit; 49 struct commit *commit;
50 char *author; 50 char *author;
51 char *author_email; 51 char *author_email;
52 unsigned long author_date; 52 unsigned long author_date;
53 char *committer; 53 char *committer;
54 char *committer_email; 54 char *committer_email;
55 unsigned long committer_date; 55 unsigned long committer_date;
56 char *subject; 56 char *subject;
57 char *msg; 57 char *msg;
58}; 58};
59 59
60struct taginfo { 60struct taginfo {
61 char *tagger; 61 char *tagger;
62 char *tagger_email; 62 char *tagger_email;
63 int tagger_date; 63 int tagger_date;
64 char *msg; 64 char *msg;
65}; 65};
66 66
67extern const char cgit_version[]; 67extern const char cgit_version[];
68 68
69extern struct repolist cgit_repolist; 69extern struct repolist cgit_repolist;
70extern struct repoinfo *cgit_repo; 70extern struct repoinfo *cgit_repo;
71 71
72extern char *cgit_root_title; 72extern char *cgit_root_title;
73extern char *cgit_css; 73extern char *cgit_css;
74extern char *cgit_logo; 74extern char *cgit_logo;
75extern char *cgit_logo_link; 75extern char *cgit_logo_link;
76extern char *cgit_module_link; 76extern char *cgit_module_link;
77extern char *cgit_virtual_root; 77extern char *cgit_virtual_root;
78extern char *cgit_script_name;
78extern char *cgit_cache_root; 79extern char *cgit_cache_root;
79 80
80extern int cgit_nocache; 81extern int cgit_nocache;
81extern int cgit_snapshots; 82extern int cgit_snapshots;
82extern int cgit_max_lock_attempts; 83extern int cgit_max_lock_attempts;
83extern int cgit_cache_root_ttl; 84extern int cgit_cache_root_ttl;
84extern int cgit_cache_repo_ttl; 85extern int cgit_cache_repo_ttl;
85extern int cgit_cache_dynamic_ttl; 86extern int cgit_cache_dynamic_ttl;
86extern int cgit_cache_static_ttl; 87extern int cgit_cache_static_ttl;
87extern int cgit_cache_max_create_time; 88extern int cgit_cache_max_create_time;
88 89
89extern int cgit_max_msg_len; 90extern int cgit_max_msg_len;
90extern int cgit_max_commit_count; 91extern int cgit_max_commit_count;
91 92
92extern char *cgit_repo_name; 93extern char *cgit_repo_name;
93extern char *cgit_repo_desc; 94extern char *cgit_repo_desc;
94extern char *cgit_repo_owner; 95extern char *cgit_repo_owner;
95 96
96extern int cgit_query_has_symref; 97extern int cgit_query_has_symref;
97extern int cgit_query_has_sha1; 98extern int cgit_query_has_sha1;
98 99
99extern char *cgit_querystring; 100extern char *cgit_querystring;
100extern char *cgit_query_repo; 101extern char *cgit_query_repo;
101extern char *cgit_query_page; 102extern char *cgit_query_page;
102extern char *cgit_query_search; 103extern char *cgit_query_search;
103extern char *cgit_query_head; 104extern char *cgit_query_head;
104extern char *cgit_query_sha1; 105extern char *cgit_query_sha1;
105extern char *cgit_query_sha2; 106extern char *cgit_query_sha2;
106extern char *cgit_query_path; 107extern char *cgit_query_path;
107extern char *cgit_query_name; 108extern char *cgit_query_name;
108extern int cgit_query_ofs; 109extern int cgit_query_ofs;
109 110