]> git.cameronkatri.com Git - cgit.git/blobdiff - cgit.h
ui-repolist: use ctx.qry.url instead of rooturl, in case we're filtering
[cgit.git] / cgit.h
diff --git a/cgit.h b/cgit.h
index 0eb5ed5a4e6f10beeb4ce79519f78f08a15d2343..16f809297fc40d9eedf95a80fcaf7e4caaefb26f 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -53,11 +53,11 @@ typedef void (*filepair_fn)(struct diff_filepair *pair);
 typedef void (*linediff_fn)(char *line, int len);
 
 typedef enum {
-       DIFF_UNIFIED, DIFF_SSDIFF
+       DIFF_UNIFIED, DIFF_SSDIFF, DIFF_STATONLY
 } diff_type;
 
 typedef enum {
-       ABOUT, COMMIT, SOURCE, EMAIL, AUTH
+       ABOUT, COMMIT, SOURCE, EMAIL, AUTH, OWNER
 } filter_type;
 
 struct cgit_filter {
@@ -104,7 +104,10 @@ struct cgit_repo {
        struct cgit_filter *commit_filter;
        struct cgit_filter *source_filter;
        struct cgit_filter *email_filter;
+       struct cgit_filter *owner_filter;
        struct string_list submodules;
+       int hide;
+       int ignore;
 };
 
 typedef void (*repo_config_fn)(struct cgit_repo *repo, const char *name,
@@ -257,6 +260,7 @@ struct cgit_config {
        struct cgit_filter *commit_filter;
        struct cgit_filter *source_filter;
        struct cgit_filter *email_filter;
+       struct cgit_filter *owner_filter;
        struct cgit_filter *auth_filter;
 };