config/Param: split block-specific attributes to new struct ConfigBlock
The old struct config_param remains only for top-level string options.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct config_param;
|
||||
struct ConfigBlock;
|
||||
class InputStream;
|
||||
class Error;
|
||||
struct Tag;
|
||||
@@ -69,7 +69,7 @@ struct InputPlugin {
|
||||
* @return true on success, false if the plugin should be
|
||||
* disabled
|
||||
*/
|
||||
InitResult (*init)(const config_param ¶m, Error &error);
|
||||
InitResult (*init)(const ConfigBlock &block, Error &error);
|
||||
|
||||
/**
|
||||
* Global deinitialization. Called once before MPD shuts
|
||||
|
Reference in New Issue
Block a user