Add log storage peeking 82/290682/2
authorMichal Bloch <m.bloch@samsung.com>
Thu, 30 Mar 2023 11:41:32 +0000 (13:41 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Thu, 30 Mar 2023 17:02:48 +0000 (19:02 +0200)
commitcc479bcc7c6051bafcfb74feb7c1a974d3259bf3
tree1a1bb3f948e3e7f1ef675e6436c56831494533aa
parent02a455bedd990eb13312d0fbf3778e43c48c3e4b
Add log storage peeking

Allows to "peek" at an entry without consuming it.

This is needed to be able to choose the best
storage to consume an entry from in the planned
multi-storage reader system.

Change-Id: Id62c6ff2cc4dac5d0fa925d6e01048da50bb2454
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
Makefile.am
src/logger/log_storage.c
src/logger/log_storage.h
src/tests/test_log_storage_peek.c [new file with mode: 0644]