daemon: handle epoll callback pointers sensibly 68/239568/2
authorMichal Bloch <m.bloch@samsung.com>
Mon, 27 Jul 2020 17:16:53 +0000 (19:16 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Tue, 28 Jul 2020 10:08:58 +0000 (12:08 +0200)
commit087ca79bdb153eabd267cf224b22a1dd9cc5d068
treed06abf528e1b96a7f4e4c61d92a129fd2bb2f208
parentdc1c1fa2680f0b4cf3abbb5da9ec8e2a39174a66
daemon: handle epoll callback pointers sensibly

The event can now carry userdata to point to the needed structure directly.
No more "keep fd_entity in front of the struct" or offset calculating nonsense.

Change-Id: I9d7d565d86538931f26a63ce35b6d0bb5947f228
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/logger/logger.c
src/logger/logger_internal.h
src/tests/logger.c