filter/Plugin: eliminate filter_new()
This commit is contained in:
@@ -40,18 +40,6 @@ struct FilterPlugin {
|
||||
std::unique_ptr<PreparedFilter> (*init)(const ConfigBlock &block);
|
||||
};
|
||||
|
||||
/**
|
||||
* Creates a new instance of the specified filter plugin.
|
||||
*
|
||||
* Throws std::runtime_error on error.
|
||||
*
|
||||
* @param plugin the filter plugin
|
||||
* @param block configuration section
|
||||
*/
|
||||
std::unique_ptr<PreparedFilter>
|
||||
filter_new(const FilterPlugin *plugin,
|
||||
const ConfigBlock &block);
|
||||
|
||||
/**
|
||||
* Creates a new filter, loads configuration and the plugin name from
|
||||
* the specified configuration section.
|
||||
|
Reference in New Issue
Block a user