aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-18 15:58:04 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-06-29 19:38:23 +0200
commit598fe2f3ce3bc091208fe29402c2ac2613558b19 (patch)
treec236e8acf2d594e3150b054f9165d985b3a11c27
parent227c9a3b471d1db7134dd6ba95ef6aa956765555 (diff)
Add an external field to CtlConfigT
Add an external field to CtlConfigT to store external data (by casting to void *). Change-Id: I368319f4cde6dc0409b5672809cc19a08e43dd67 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--ctl-lib/ctl-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctl-lib/ctl-config.h b/ctl-lib/ctl-config.h
index e967270..7864714 100644
--- a/ctl-lib/ctl-config.h
+++ b/ctl-lib/ctl-config.h
@@ -71,6 +71,7 @@ typedef struct {
json_object *configJ;
json_object *requireJ;
CtlSectionT *sections;
+ void *external;
} CtlConfigT;
// This should not be global as application may want to define their own sections