summaryrefslogtreecommitdiffstats
path: root/tests/sender-receiver.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-28style: convert code to systemd coding styleGeorge Kiagiadakis1-285/+288
https://systemd.io/CODING_STYLE/ Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: port away from glibGeorge Kiagiadakis1-107/+111
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-13/+26
See #39, #16 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: wpipc: check if new connection to new receiver is valid after losing ↵Julian Bouzas1-0/+12
connection 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/+16
Fixes hanging issues when running test with valgrind. Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: wpipc: fix typo in sender-receiver unit testJulian Bouzas1-1/+1
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/+286
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>