limiter: add a way to get applicable rules 90/186290/7
authorMichal Bloch <m.bloch@samsung.com>
Mon, 20 Aug 2018 13:10:42 +0000 (15:10 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Tue, 21 Aug 2018 10:30:00 +0000 (12:30 +0200)
commitfa2d3f5d081e8c65a580a3ca2395e0fc8086114a
treed812d5c25d1bee4cbdfc2eec79a05df4b958b114
parentc0758f4e9458a5e6b7e25845a45431ec5ee69db6
limiter: add a way to get applicable rules

Returns all applicable rules, including the shadowed ones so as to know
which rules would be in effect if the currently applicable one was removed.

Change-Id: I32c6bac5cd2ae4506e2c0942989fb19d608a2cb9
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
include/loglimiter.h
src/libdlog/loglimiter.c