diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-11-18 20:50:44 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-11-18 20:50:44 +0000 |
commit | 8641af3c6d11e3e6710cb946e9a93d0e9f639519 (patch) | |
tree | ce72b56c7460fed94808ee8023fad89df27c7e12 /polyp/iochannel.c | |
parent | eef235d8795df740eb63cb135bd187b7ab9ac4ea (diff) |
* some iochannel fixes
* introduce reference counting in ioline
* fix memory leak in socket-client.c
* fix double-free error in protocol-esound.c
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@293 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/iochannel.c')
-rw-r--r-- | polyp/iochannel.c | 5 |
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; +} |