Make API+internal functions behavior dependent on usage 61/243961/1
authorMateusz Majewski <m.majewski2@samsung.com>
Fri, 11 Sep 2020 11:22:11 +0000 (13:22 +0200)
committerMateusz Majewski <m.majewski2@samsung.com>
Fri, 11 Sep 2020 11:22:11 +0000 (13:22 +0200)
commita8c42560c21ed01d329379ad4cd128bd747e4cc0
treeb2a0ac3587e9e5644a9b6459622ba3cd98d3380f
parentf0504a74ffd20bb869a783edfd2221b38e7c2f6c
Make API+internal functions behavior dependent on usage

Some functions are used both internally and exported in the libdlogutil
API. This is hacky, but we decided that, on invalid parameters, they
should assert when used internally, and return an error when used via
API.

Change-Id: Id8b2d173670a8eaa845c13a8178a43d4f421a004
Makefile.am
include/logcommon.h
src/shared/queued_entry_timestamp.c