X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwgtpkg-unit.h;h=1d56eb3a562dde02fb5a08ccd57e1b3bd6540bd4;hb=de02ff4734caf96658f40a9e352245f5046a183a;hp=484368526ca3e2086b523641fda97a1182b60971;hpb=366f2093c78347dbee190eff929052a969724076;p=src%2Fapp-framework-main.git diff --git a/src/wgtpkg-unit.h b/src/wgtpkg-unit.h index 4843685..1d56eb3 100644 --- a/src/wgtpkg-unit.h +++ b/src/wgtpkg-unit.h @@ -18,6 +18,7 @@ struct json_object; +struct wgt_info; enum unitscope { unitscope_unknown = 0, @@ -43,3 +44,6 @@ struct unitdesc { extern int unit_generator_on(const char *filename); extern void unit_generator_off(); extern int unit_generator_process(struct json_object *jdesc, int (*process)(void *closure, const struct unitdesc descs[], unsigned count), void *closure); +extern int unit_install(struct wgt_info *ifo, const char *installdir, const char *icondir, int port); +extern int unit_uninstall(struct wgt_info *ifo); +