mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
main part of the native protocol
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@31 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
eecf602476
commit
acb25b3510
62 changed files with 2473 additions and 755 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue