pass: resmon: Move private pass_resmon structure for encapsulation 05/289705/4
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 21 Feb 2023 08:51:04 +0000 (17:51 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 16 Mar 2023 12:12:40 +0000 (21:12 +0900)
commitabb4200900d44b00a70758b35b5b8f2b6e425170
tree0479c2e1d3d2ea8121900506bb676e1cbb30408a
parent5af88033c87f5baab8ef9d7f7dcf9c275a09e5be
pass: resmon: Move private pass_resmon structure for encapsulation

The struct pass_resmon is private data structure and the other module
cannot access the data of struct pass_resmon directly. In order to
protect the data, move private pass_resmon structure into pass_resmon
module and then provide the proper getter/setter function to handle the
data.

Change-Id: Ic4d1d8d0d11294e173ba19cc08b50a459a878492
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-parser.c
src/pass/pass-resmon-internal.h
src/pass/pass-resmon-source.c
src/pass/pass-resmon.c
src/pass/pass-resmon.h
src/pass/pass.c
src/pass/pass.h
tests/haltest/CMakeLists.txt
tests/integration-test/CMakeLists.txt
tests/unittest/pass-hal-and-parser/CMakeLists.txt