plugin-api: deviced: power: Add syscommon_plugin_deviced_power_convert_to_power_state() 69/297369/3
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Aug 2023 10:44:15 +0000 (19:44 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 18 Aug 2023 01:00:39 +0000 (10:00 +0900)
commit913842514c326300feb34b50eba6e8e56e3b9719
tree7149d0f47193ffd70b20039683caa10f44f78546
parent9ebe7bc5c583fe49a8d56af241ef6044c63dd286
plugin-api: deviced: power: Add syscommon_plugin_deviced_power_convert_to_power_state()

syscommon_plugin_deviced_power_convert_to_power_state() plugin api
converts the power action string to DEVICED_POWER_STATE_* enumeration.

Change-Id: I14fb07cfa64527fceba58116977b32986c14edda
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/plugin-api/deviced/include/syscommon-plugin-deviced-power-interface.h