dlog_logger: readers keep their owning server 57/288057/1
authorMichal Bloch <m.bloch@samsung.com>
Wed, 8 Feb 2023 14:00:31 +0000 (15:00 +0100)
committerMichal Bloch <m.bloch@samsung.com>
Thu, 9 Feb 2023 17:57:10 +0000 (18:57 +0100)
commitf96f09abf4733381c4b3404545dceee499f2ee3f
tree0e1f9c4bf1ced6e8fdfef97c2fcad21847c51a09
parent7161d0c4c1a8ebf92fe64a8b382d410398df00dd
dlog_logger: readers keep their owning server

Will allow readers to unregister themselves from server structures
when they are cleaned up, which allows to prevent mistakes via RAII
and makes it possible to commonize more reader handling functions.

Change-Id: I1e2e5645b3106465a877ebf2b7385e83364dfb61
src/logger/reader_common.c
src/logger/reader_common.h
src/logger/reader_logger.c
src/logger/reader_memory.c
src/logger/reader_pipe.c
src/tests/logger.c