summaryrefslogtreecommitdiff
path: root/iohandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'iohandler.c')
-rw-r--r--iohandler.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/iohandler.c b/iohandler.c
index 3f23433b5a..f2fc8a9bd6 100644
--- a/iohandler.c
+++ b/iohandler.c
@@ -44,6 +44,12 @@ static void iohandler_init(void)
}
}
+AioContext *iohandler_get_aio_context(void)
+{
+ iohandler_init();
+ return iohandler_ctx;
+}
+
GSource *iohandler_get_g_source(void)
{
iohandler_init();