search for: inner_filter

Displaying 2 results from an estimated 2 matches for "inner_filter".

2020 Jul 22
1
Re: [PATCH nbdkit] server: Pass the export name through filter .open calls.
...  It looks like > protocol-handshake.c is the only caller, and still has everything in > scope at the time. Nope, we can't. It's because the sequence is: backend_open("clientname") outer_filter.open("clientname") next_open("outername") inner_filter.open("outername") next_open("innername") plugin.open("innername") backend_prepare() backend_prepare() backend_prepare() plugin.prepare() inner_filter.prepare() outer_filter.prepare() while protocol-handshake.c has the same &q...
2020 Jul 21
4
[PATCH nbdkit] server: Pass the export name through filter .open calls.
To allow filters to modify the export name as it passes through the layers this commit makes several changes: The filter .open callback now takes an extra parameter, the export name. This is always non-NULL (for oldstyle it is ""). This string has a short lifetime and filters that need to hang on to it must take a copy. The filter must pass the exportname parameter down to the next