filter/Plugin: move filter_configured_new() to LoadOne.cxx

This commit is contained in:
Max Kellermann
2018-01-02 23:06:53 +01:00
parent b13ebe3ddb
commit bbabb7a14c
6 changed files with 46 additions and 19 deletions

View File

@@ -40,15 +40,4 @@ struct FilterPlugin {
std::unique_ptr<PreparedFilter> (*init)(const ConfigBlock &block);
};
/**
* Creates a new filter, loads configuration and the plugin name from
* the specified configuration section.
*
* Throws std::runtime_error on error.
*
* @param block the configuration section
*/
std::unique_ptr<PreparedFilter>
filter_configured_new(const ConfigBlock &block);
#endif