summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (show whitespace changes)
-rw-r--r--cgit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index cb2f176..4fe94c6 100644
--- a/cgit.h
+++ b/cgit.h
@@ -52,24 +52,25 @@ struct cgit_repo {
52 char *name; 52 char *name;
53 char *path; 53 char *path;
54 char *desc; 54 char *desc;
55 char *owner; 55 char *owner;
56 char *defbranch; 56 char *defbranch;
57 char *group; 57 char *group;
58 char *module_link; 58 char *module_link;
59 char *readme; 59 char *readme;
60 char *clone_url; 60 char *clone_url;
61 int snapshots; 61 int snapshots;
62 int enable_log_filecount; 62 int enable_log_filecount;
63 int enable_log_linecount; 63 int enable_log_linecount;
64 int max_stats;
64 time_t mtime; 65 time_t mtime;
65}; 66};
66 67
67struct cgit_repolist { 68struct cgit_repolist {
68 int length; 69 int length;
69 int count; 70 int count;
70 struct cgit_repo *repos; 71 struct cgit_repo *repos;
71}; 72};
72 73
73struct commitinfo { 74struct commitinfo {
74 struct commit *commit; 75 struct commit *commit;
75 char *author; 76 char *author;
@@ -111,24 +112,25 @@ struct cgit_query {
111 char *raw; 112 char *raw;
112 char *repo; 113 char *repo;
113 char *page; 114 char *page;
114 char *search; 115 char *search;
115 char *grep; 116 char *grep;
116 char *head; 117 char *head;
117 char *sha1; 118 char *sha1;
118 char *sha2; 119 char *sha2;
119 char *path; 120 char *path;
120 char *name; 121 char *name;
121 char *mimetype; 122 char *mimetype;
122 char *url; 123 char *url;
124 char *period;
123 int ofs; 125 int ofs;
124 int nohead; 126 int nohead;
125 char *sort; 127 char *sort;
126 int showmsg; 128 int showmsg;
127}; 129};
128 130
129struct cgit_config { 131struct cgit_config {
130 char *agefile; 132 char *agefile;
131 char *cache_root; 133 char *cache_root;
132 char *clone_prefix; 134 char *clone_prefix;
133 char *css; 135 char *css;
134 char *favicon; 136 char *favicon;
@@ -151,24 +153,25 @@ struct cgit_config {
151 int cache_repo_ttl; 153 int cache_repo_ttl;
152 int cache_root_ttl; 154 int cache_root_ttl;
153 int cache_static_ttl; 155 int cache_static_ttl;
154 int enable_index_links; 156 int enable_index_links;
155 int enable_log_filecount; 157 int enable_log_filecount;
156 int enable_log_linecount; 158 int enable_log_linecount;
157 int local_time; 159 int local_time;
158 int max_repo_count; 160 int max_repo_count;
159 int max_commit_count; 161 int max_commit_count;
160 int max_lock_attempts; 162 int max_lock_attempts;
161 int max_msg_len; 163 int max_msg_len;
162 int max_repodesc_len; 164 int max_repodesc_len;
165 int max_stats;
163 int nocache; 166 int nocache;
164 int renamelimit; 167 int renamelimit;
165 int snapshots; 168 int snapshots;
166 int summary_branches; 169 int summary_branches;
167 int summary_log; 170 int summary_log;
168 int summary_tags; 171 int summary_tags;
169}; 172};
170 173
171struct cgit_page { 174struct cgit_page {
172 time_t modified; 175 time_t modified;
173 time_t expires; 176 time_t expires;
174 size_t size; 177 size_t size;