aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_init.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/input_init.h9
1 files changed, 8 insertions, 1 deletions
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 <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.