filter/Plugin: eliminate filter_new()

This commit is contained in:
Max Kellermann
2018-01-02 23:00:16 +01:00
parent b0199245d5
commit b13ebe3ddb
2 changed files with 1 additions and 21 deletions

View File

@@ -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.