summaryrefslogtreecommitdiffstats
path: root/src/wgtpkg-unit.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-03-14 18:24:46 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-03-17 13:01:40 +0100
commitcdd05aa3e66a876dba01f04173d817b9e5e039a0 (patch)
treeec309a4b9bd1ef1860ebc54d431b2a7e37db4c00 /src/wgtpkg-unit.h
parentfcc925c4a6d7bc82106f6c8da13b1a58a7b23115 (diff)
wgtpkg-unit: add management of wanted-by in unit descriptions
This allows the automatic creation of the links in wants subdirectories. Change-Id: Ib948fb11abbbd902f733279136f51ad1649923ef Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/wgtpkg-unit.h')
-rw-r--r--src/wgtpkg-unit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wgtpkg-unit.h b/src/wgtpkg-unit.h
index 1d56eb3..f152736 100644
--- a/src/wgtpkg-unit.h
+++ b/src/wgtpkg-unit.h
@@ -39,6 +39,8 @@ struct unitdesc {
size_t name_length;
const char *content;
size_t content_length;
+ const char *wanted_by;
+ size_t wanted_by_length;
};
extern int unit_generator_on(const char *filename);