]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
new_filter: determine extra_args from filter type
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index 74aa340b1014d1cebb965202d29638d0236356ac..1f8b1bee11c77bfeaea22b5d9758e03731c951d9 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -51,6 +51,10 @@ typedef void (*configfn)(const char *name, const char *value);
 typedef void (*filepair_fn)(struct diff_filepair *pair);
 typedef void (*linediff_fn)(char *line, int len);
 
+typedef enum {
+       ABOUT, COMMIT, SOURCE
+} filter_type;
+
 struct cgit_filter {
        char *cmd;
        char **argv;
@@ -71,6 +75,8 @@ struct cgit_repo {
        char *readme;
        char *section;
        char *clone_url;
+       char *logo;
+       char *logo_link;
        int snapshots;
        int enable_commit_graph;
        int enable_log_filecount;