summaryrefslogtreecommitdiffstats
path: root/polyp/iochannel.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/iochannel.c')
-rw-r--r--polyp/iochannel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/polyp/iochannel.c b/polyp/iochannel.c
index f174afd0..0e7e8db8 100644
--- a/polyp/iochannel.c
+++ b/polyp/iochannel.c
@@ -235,3 +235,8 @@ int pa_iochannel_socket_set_sndbuf(struct pa_iochannel *io, size_t l) {
return pa_socket_set_sndbuf(io->ofd, l);
}
+
+struct pa_mainloop_api* pa_iochannel_get_mainloop_api(struct pa_iochannel *io) {
+ assert(io);
+ return io->mainloop;
+}