input: pass config_param to input_plugin.init()

Allow input plugins to configure with an "input" block in mpd.conf.
Also allow the user to disable a plugin completely.
This commit is contained in:
Max Kellermann
2009-03-02 23:08:17 +01:00
parent 9a350acf04
commit cfb350f4f0
8 changed files with 50 additions and 7 deletions

View File

@@ -115,6 +115,7 @@ input_mms_seek(G_GNUC_UNUSED struct input_stream *is,
}
const struct input_plugin input_plugin_mms = {
.name = "mms",
.open = input_mms_open,
.close = input_mms_close,
.buffer = input_mms_buffer,