util: resource: Encapsulate struct resource by hiding from user 46/277446/4
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Jul 2022 21:16:35 +0000 (06:16 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 8 Jul 2022 09:03:24 +0000 (18:03 +0900)
commit196216a31323cc759b10896608575a230d6a8a5c
treed22e5b0cde36d492c820732264208b3174df69ad
parent992b6df22b83f005be20d857c0fa1ab8b7b7e71e
util: resource: Encapsulate struct resource by hiding from user

Move 'struct resource' into src/util/resource.c for hiding it
and add missing getter/setter for encapsulation to access
the fiels of 'struct resource'.

Change-Id: Ib20b3de6f5ac68f20c14da82dedef38bbe26d2e8
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
include/util/resource.h
src/util/resource.c