aboutsummaryrefslogtreecommitdiffstats
path: root/ctl-lib
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-18 15:58:04 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-18 16:01:03 +0200
commit4b4a05dd1f5bd4c03c9560812bf9ed10cf31035b (patch)
treec07c4e18eebbcc05ec2e0144b458d21cceee0a3d /ctl-lib
parenta0704895ec6a6ed6ad6620fbef290eeeb0c103bf (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>
Diffstat (limited to 'ctl-lib')
-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 b8eca1b..5ad0e7b 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