aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index f3d2556..c655bd8 100644
--- a/cgit.h
+++ b/cgit.h
@@ -11,6 +11,7 @@
11#include <tag.h> 11#include <tag.h>
12#include <diff.h> 12#include <diff.h>
13#include <diffcore.h> 13#include <diffcore.h>
14#include <argv-array.h>
14#include <refs.h> 15#include <refs.h>
15#include <revision.h> 16#include <revision.h>
16#include <log-tree.h> 17#include <log-tree.h>
@@ -274,6 +275,8 @@ struct cgit_context {
274 struct cgit_page page; 275 struct cgit_page page;
275}; 276};
276 277
278typedef int (*write_archive_fn_t)(const char *, const char *);
279
277struct cgit_snapshot_format { 280struct cgit_snapshot_format {
278 const char *suffix; 281 const char *suffix;
279 const char *mimetype; 282 const char *mimetype;