Unidiff1 files changed, 8 insertions, 0 deletions
|
diff --git a/cgit.h b/cgit.h index 295441b..e2d5126 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -178,8 +178,16 @@ struct cgit_context { |
178 | }; |
178 | }; |
179 | |
179 | |
| |
180 | struct cgit_snapshot_format { |
| |
181 | const char *suffix; |
| |
182 | const char *mimetype; |
| |
183 | write_archive_fn_t write_func; |
| |
184 | int bit; |
| |
185 | }; |
| |
186 | |
180 | extern const char *cgit_version; |
187 | extern const char *cgit_version; |
181 | |
188 | |
182 | extern struct cgit_repolist cgit_repolist; |
189 | extern struct cgit_repolist cgit_repolist; |
183 | extern struct cgit_context ctx; |
190 | extern struct cgit_context ctx; |
| |
191 | extern const struct cgit_snapshot_format cgit_snapshot_formats[]; |
184 | extern int cgit_cmd; |
192 | extern int cgit_cmd; |
185 | |
193 | |
|