From 598fe2f3ce3bc091208fe29402c2ac2613558b19 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(+) (limited to 'ctl-lib') 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 -- cgit 1.2.3-korg