plugin-api: resourced: Move common struct and enum from *.h to *-interface.h 83/298283/2
authorUnsung Lee <unsung.lee@samsung.com>
Tue, 5 Sep 2023 01:41:26 +0000 (10:41 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 6 Sep 2023 23:59:14 +0000 (23:59 +0000)
commit617110ad7fb7e15be6e18237ae357854ae7fa298
tree01116b2c4975844524d23f34c0c8a35c23624844
parentfc317d4802f5a515094fb29d58a0392d198d4497
plugin-api: resourced: Move common struct and enum from *.h to *-interface.h

Move common struct and enum, referened by both resourced and resourced backend,
from syscommon-plugin-resourced-memory-lmk.h
to syscommon-plugin-resourced-memory-lmk-interface.h for consistency.

*.h can be referenced only by resourced. On the other hand, *-interface.h can
be referenced by both side. Therefore, common struct and enum should be
defined in *-interface.h.

Change-Id: I0529e21da6688eeebb9a0583521dc69c2e400f2c
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/plugin-api/resourced/include/system/syscommon-plugin-resourced-memory-lmk-interface.h
src/plugin-api/resourced/include/system/syscommon-plugin-resourced-memory-lmk.h
src/plugin-api/resourced/src/syscommon-plugin-resourced-memory-lmk.c