aboutsummaryrefslogtreecommitdiffstats
path: root/favicon.ico
diff options
context:
space:
mode:
authorGravatar John Keeping <john@keeping.me.uk>2014-01-13 02:13:52 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2014-01-14 10:00:07 (JST)
commit7bd90b8048fd6937766dff7474947dd80205ea7e (patch)
tree63f9ba4eac9892a843338400042194b3bf115216 /favicon.ico
parent632efb25c07c1b014a4e8cfbbea759f517c2aaf6 (diff)
downloadcgit-7bd90b8048fd6937766dff7474947dd80205ea7e.zip
cgit-7bd90b8048fd6937766dff7474947dd80205ea7e.tar.gz
filter: add interface layer
Change the existing cgit_{open,close,fprintf}_filter functions to delegate to filter-specific implementations accessed via function pointers on the cgit_filter object. We treat the "exec" filter type slightly specially here by putting its structure definition in the header file and providing an "init" function to set up the function pointers. This is required so that the ui-snapshot.c code that applies a compression filter can continue to use the filter interface to do so. Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'favicon.ico')
0 files changed, 0 insertions, 0 deletions