summaryrefslogtreecommitdiff
path: root/src/iochannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/iochannel.h')
-rw-r--r--src/iochannel.h6
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