aboutsummaryrefslogtreecommitdiffstats
path: root/tests/client-server.c
AgeCommit message (Collapse)AuthorFilesLines
2021-07-28meson: set -D_GNU_SOURCE in the project arguments, remove other definitionsGeorge Kiagiadakis1-1/+0
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28lib: remove dependency on spa_pod and spa in generalGeorge Kiagiadakis1-14/+31
Replace spa_pod with a custom icipc_data structure, which is based on spa_pod and it's fully compatible with it Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28style: convert code to systemd coding styleGeorge Kiagiadakis1-103/+109
https://systemd.io/CODING_STYLE/ Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: port away from glibGeorge Kiagiadakis1-38/+45
Use a heavily stripped-down copy of pipewire's test framework instead Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28icipc: make everything build again after splitting it out of wireplumberGeorge Kiagiadakis1-1/+1
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: create wpipc tests sockets also in /tmp with a random nameGeorge Kiagiadakis1-4/+5
See #39, #16 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: wpipc: use GCond instead of while loop to wait for eventsJulian Bouzas1-8/+8
Fixes hanging issues when running test with valgrind. Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28wpipc: place sockets in the same runtime directory as pipewireGeorge Kiagiadakis1-1/+1
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28lib: add wpipc libraryJulian Bouzas1-0/+124
Simple library that uses sockets for inter-process communication. It provides an API to create server and client objects. Users can add custom handlers in the server, and clients can send requests for those custom handlers. Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>