diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-09-05 17:45:31 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-09-19 15:25:36 +0200 |
commit | c41158288f76b4809d01f3ec5028d8be609bb613 (patch) | |
tree | 405f435a7bb377b3f0b3719f87424ac9f30a4846 /src/wgtpkg-unit.h | |
parent | 7c0c4ba7a28fad979e602312959203dfefdfaef1 (diff) |
wgtpkg-unit: improve naming (minor)
Change-Id: I5dae72c8dd925646b18c30ab4ef60382e43c744b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/wgtpkg-unit.h')
-rw-r--r-- | src/wgtpkg-unit.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |