aboutsummaryrefslogtreecommitdiffstats
path: root/src/io_thread.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/io_thread.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/io_thread.h b/src/io_thread.h
index 2daddba86..5687aebb9 100644
--- a/src/io_thread.h
+++ b/src/io_thread.h
@@ -29,6 +29,14 @@ io_thread_init(void);
bool
io_thread_start(GError **error_r);
+/**
+ * Run the I/O event loop synchronously in the current thread. This
+ * can be called instead of io_thread_start(). For testing purposes
+ * only.
+ */
+void
+io_thread_run(void);
+
void
io_thread_deinit(void);