X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwgtpkg-unit.h;h=dc011e1f6979b1ee7265309174641c5e69e2c284;hb=76e60e87a135522f091f444dab0a0e130906a554;hp=10751a61d9021730c2c63fe6c0fa52f33b2979fd;hpb=6b647feb6483cecbfbf50efde394b5a7d8d0aa56;p=src%2Fapp-framework-main.git diff --git a/src/wgtpkg-unit.h b/src/wgtpkg-unit.h index 10751a6..dc011e1 100644 --- a/src/wgtpkg-unit.h +++ b/src/wgtpkg-unit.h @@ -57,8 +57,8 @@ struct generatedesc { int nunits; }; -extern int unit_generator_on(const char *filename); -extern void unit_generator_off(); +extern int unit_generator_open_template(const char *filename); +extern void unit_generator_close_template(); extern int unit_generator_process(struct json_object *jdesc, const struct unitconf *conf, int (*process)(void *closure, const struct generatedesc *desc), void *closure); extern int unit_install(struct wgt_info *ifo, const struct unitconf *conf); extern int unit_uninstall(struct wgt_info *ifo, const struct unitconf *conf);