mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-19 08:57:00 -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
17
src/socket-client.h
Normal file
17
src/socket-client.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef foosocketclienthfoo
|
||||
#define foosocketclienthfoo
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "mainloop-api.h"
|
||||
#include "iochannel.h"
|
||||
|
||||
struct socket_client;
|
||||
|
||||
struct socket_client* socket_client_new_ipv4(struct pa_mainloop_api *m, uint32_t address, uint16_t port);
|
||||
struct socket_client* socket_client_new_unix(struct pa_mainloop_api *m, const char *filename);
|
||||
|
||||
void socket_client_free(struct socket_client *c);
|
||||
|
||||
void socket_client_set_callback(struct socket_client *c, void (*on_connection)(struct socket_client *c, struct iochannel*io, void *userdata), void *userdata);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue