pass: resmon: Move private pass_resmon structure for encapsulation
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 21 Feb 2023 08:51:04 +0000 (17:51 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 15 Mar 2023 21:31:03 +0000 (06:31 +0900)
commit1a68612788096258d9361460d3e90af116365c6b
tree695377caffc51476193e604195a6d6a9306435ba
parent5af88033c87f5baab8ef9d7f7dcf9c275a09e5be
pass: resmon: Move private pass_resmon structure for encapsulation

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