aboutsummaryrefslogtreecommitdiff
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 @@
#include <tag.h>
#include <diff.h>
#include <diffcore.h>
+#include <argv-array.h>
#include <refs.h>
#include <revision.h>
#include <log-tree.h>
@@ -274,6 +275,8 @@ struct cgit_context {
struct cgit_page page;
};
+typedef int (*write_archive_fn_t)(const char *, const char *);
+
struct cgit_snapshot_format {
const char *suffix;
const char *mimetype;