diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-05-18 15:58:04 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 15:02:54 +0100 |
commit | ddb150437e863dd95ae0e58005a99771a050fef3 (patch) | |
tree | c07c4e18eebbcc05ec2e0144b458d21cceee0a3d | |
parent | 2dbe7229f0956c5018392a1b331b6163fd72d7de (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.h | 1 |
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 |