]>
code.delx.au - pulseaudio/blob - src/socket-client.h
1 #ifndef foosocketclienthfoo
2 #define foosocketclienthfoo
5 #include "mainloop-api.h"
10 struct socket_client
* socket_client_new_ipv4(struct pa_mainloop_api
*m
, uint32_t address
, uint16_t port
);
11 struct socket_client
* socket_client_new_unix(struct pa_mainloop_api
*m
, const char *filename
);
13 void socket_client_free(struct socket_client
*c
);
15 void socket_client_set_callback(struct socket_client
*c
, void (*on_connection
)(struct socket_client
*c
, struct iochannel
*io
, void *userdata
), void *userdata
);