X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/800380dde797ae35d738a644acdae2fabb9a0d44..a5e15537268410e268c7b26aa69d03b347c326c8:/cgit.h diff --git a/cgit.h b/cgit.h index 519d2af..e200a06 100644 --- a/cgit.h +++ b/cgit.h @@ -53,7 +53,7 @@ typedef void (*filepair_fn)(struct diff_filepair *pair); typedef void (*linediff_fn)(char *line, int len); typedef enum { - ABOUT, COMMIT, SOURCE + ABOUT, COMMIT, SOURCE, EMAIL } filter_type; struct cgit_filter { @@ -99,6 +99,7 @@ struct cgit_repo { struct cgit_filter *about_filter; struct cgit_filter *commit_filter; struct cgit_filter *source_filter; + struct cgit_filter *email_filter; struct string_list submodules; }; @@ -250,6 +251,7 @@ struct cgit_config { struct cgit_filter *about_filter; struct cgit_filter *commit_filter; struct cgit_filter *source_filter; + struct cgit_filter *email_filter; }; struct cgit_page {