From 349c9647be645fbd2e26c67713de648688b4d216 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 8 Mar 2017 12:55:47 +0100 Subject: Make a global variable to a configuration object. With afb interface, it will be the last global variable needed as it regroup all needed stuff to other class and functions. Change-Id: I3d82b6f748ff22a9a975d15ab9df51f63005737f Signed-off-by: Romain Forlot --- src/low-can-binding.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/low-can-binding.hpp') diff --git a/src/low-can-binding.hpp b/src/low-can-binding.hpp index 2c84989e..1509c2a6 100644 --- a/src/low-can-binding.hpp +++ b/src/low-can-binding.hpp @@ -19,6 +19,9 @@ #pragma once #include + +#include "configuration.hpp" + extern "C" { #include @@ -26,4 +29,6 @@ extern "C" extern "C" struct afb_binding_interface; -extern const struct afb_binding_interface *binder_interface; \ No newline at end of file +extern const struct afb_binding_interface *binder_interface; + +extern configuration_t *config; \ No newline at end of file -- cgit 1.2.3-korg