libei/test
Peter Hutterer 9c2c912353 util: change the sources API to source_new and sink_add_source
This is a more explicit API that makes it more obvious where the ref/unref
calls need to go. The sink now has two refs to the sources as well (epoll data
pointer and the list) which means a caller cannot just source_unref() anymore
without removing a source. Since this is how we've been using it anyway - meh.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2020-08-07 14:46:20 +10:00
..
eierpecken.c test: drain all events before exiting 2020-08-07 14:46:20 +10:00
eierpecken.h Add a test suite 2020-08-06 16:20:35 +10:00
iotest.c test: remove an unnecssary arg for the iotest 2020-08-06 14:47:40 +10:00
libei-unit-test.c test: fix a memleak in the unit tests 2020-08-07 11:37:51 +10:00
sourcestest.c util: change the sources API to source_new and sink_add_source 2020-08-07 14:46:20 +10:00
test-ei.c Add a test suite 2020-08-06 16:20:35 +10:00