diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-06-23 23:17:30 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-06-23 23:17:30 +0000 |
commit | acb25b35102dfca08f66e155560f6c99cb8fa841 (patch) | |
tree | 2ae84c77727548a15eabbe5ad624dc1fd29af30b /src/iochannel.h | |
parent | eecf602476ff5b51bdc08f8fd0e4aa70d2b0ef5a (diff) |
main part of the native protocol
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@31 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/iochannel.h')
-rw-r--r-- | src/iochannel.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/iochannel.h b/src/iochannel.h index 8ed8b878..b0465a19 100644 --- a/src/iochannel.h +++ b/src/iochannel.h @@ -2,11 +2,11 @@ #define fooiochannelhfoo #include <sys/types.h> -#include "mainloop.h" +#include "mainloop-api.h" struct iochannel; -struct iochannel* iochannel_new(struct mainloop*m, int ifd, int ofd); +struct iochannel* iochannel_new(struct pa_mainloop_api*m, int ifd, int ofd); void iochannel_free(struct iochannel*io); ssize_t iochannel_write(struct iochannel*io, const void*data, size_t l); @@ -19,4 +19,6 @@ void iochannel_set_noclose(struct iochannel*io, int b); void iochannel_set_callback(struct iochannel*io, void (*callback)(struct iochannel*io, void *userdata), void *userdata); +void iochannel_peer_to_string(struct iochannel*io, char*s, size_t l); + #endif |