[Service/PkgMgr] Add skeleton code for the package manager
authorSangjung Woo <sangjung.woo@samsung.com>
Wed, 15 Feb 2023 05:18:17 +0000 (14:18 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 17 Feb 2023 06:43:52 +0000 (15:43 +0900)
commite5541d4293c18697ea0ab003c98b1e1716500758
treebfa3659ced263eb9cd3ed61e47939c88572f0554
parent00770ad8edc0e12a6cba7f667d9fee2d65d20e60
[Service/PkgMgr] Add skeleton code for the package manager

To get the event from the package manager, the callback function should
be registered in ML Agent. This patch adds the skeleton code to get the
install, uninstall, and upgrade event of the resource package from the
package manager. Related work such as update the database of ML Agent
should be needed.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
daemon/includes/pkg-mgr.h [new file with mode: 0644]
daemon/main.c
daemon/meson.build
daemon/pkg-mgr.c [new file with mode: 0644]
meson.build
packaging/machine-learning-api.spec