From 786c1f035f99f3a396dfd52a469601163de3e9af Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 14 Dec 2009 22:29:46 +0100 Subject: input_plugin: method init() returns errors with GError Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it. --- src/input_init.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/input_init.h') diff --git a/src/input_init.h b/src/input_init.h index 6266a84fb..8416de59e 100644 --- a/src/input_init.h +++ b/src/input_init.h @@ -22,10 +22,17 @@ #include "check.h" +#include +#include + /** * Initializes this library and all input_stream implementations. + * + * @param error_r location to store the error occuring, or NULL to + * ignore errors */ -void input_stream_global_init(void); +bool +input_stream_global_init(GError **error_r); /** * Deinitializes this library and all input_stream implementations. -- cgit v1.2.3