From ddb150437e863dd95ae0e58005a99771a050fef3 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Fri, 18 May 2018 15:58:04 +0200 Subject: 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 --- ctl-lib/ctl-config.h | 1 + 1 file changed, 1 insertion(+) 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 -- cgit 1.2.3-korg