aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/input_plugin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/input_plugin.h b/src/input_plugin.h
index 905596355..6de82653a 100644
--- a/src/input_plugin.h
+++ b/src/input_plugin.h
@@ -25,16 +25,19 @@
#include <stdbool.h>
#include <sys/types.h>
+struct config_param;
struct input_stream;
struct input_plugin {
+ const char *name;
+
/**
* Global initialization. This method is called when MPD starts.
*
* @return true on success, false if the plugin should be
* disabled
*/
- bool (*init)(void);
+ bool (*init)(const struct config_param *param);
/**
* Global deinitialization. Called once before MPD shuts