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.
This commit is contained in:
@@ -22,10 +22,17 @@
|
||||
|
||||
#include "check.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
Reference in New Issue
Block a user