]> granicus.if.org Git - cgit/commit
filter: add fprintf_filter function
authorJohn Keeping <john@keeping.me.uk>
Sun, 12 Jan 2014 17:13:51 +0000 (17:13 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 14 Jan 2014 01:00:07 +0000 (02:00 +0100)
commit632efb25c07c1b014a4e8cfbbea759f517c2aaf6
treed749ef94576b829a4b8fc5ef330beb27de452bf1
parented3497b0de6634350cd17b320538fba918d4084c
filter: add fprintf_filter function

This stops the code in cgit.c::print_repo needing to inspect the
cgit_filter structure, meaning that we can abstract out different filter
types that will have different fields that need to be printed.

Signed-off-by: John Keeping <john@keeping.me.uk>
cgit.c
cgit.h
filter.c