context: connect to a specified socket

Support in the context API for connecting to a Pinos instance
listening at a specified socket - not only to the one pointed out by
the environment variables XDG_RUNTIME_DIR and PINOS_CORE.
This commit is contained in:
David Svensson Fors 2017-01-12 13:26:03 +01:00 committed by Wim Taymans
parent dac9755765
commit c433df9d32
2 changed files with 29 additions and 7 deletions

View file

@ -110,6 +110,8 @@ SpaResult pinos_context_send_message (PinosContext *contex
bool flush);
bool pinos_context_connect (PinosContext *context);
bool pinos_context_connect_fd (PinosContext *context,
int fd);
bool pinos_context_disconnect (PinosContext *context);
#ifdef __cplusplus