]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
ui-blob.c: Use a context structure in walk_tree()
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index 7a99135710d9c9ed96fe1eeac4b3dc6500723b3e..c655bd8eb54266150a0f80bd35e11ec2ed184e38 100644 (file)
--- 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>
@@ -203,6 +204,7 @@ struct cgit_config {
        int enable_filter_overrides;
        int enable_http_clone;
        int enable_index_links;
+       int enable_index_owner;
        int enable_commit_graph;
        int enable_log_filecount;
        int enable_log_linecount;
@@ -273,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;