X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/cc59ee502646dc4e3d0f8bbe29b24c7fa3f0d2dd..9240a828d13fa8f6a9e379b94b2061ca83e6199c:/cgit.h diff --git a/cgit.h b/cgit.h index b5f00fc..1f8b1be 100644 --- 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;