summaryrefslogtreecommitdiffstats
path: root/src/low-can-binding.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-20 19:17:01 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-21 10:59:19 +0000
commite04572a03ceea68e47271a9651dbf27eb4e5a190 (patch)
treea46df22ed5ebb2159ed0680a1c0bfa2433d34268 /src/low-can-binding.hpp
parentc8a9ae83b95b3105717c58e390ba216567937772 (diff)
Cleaned up, a bit, include statement.
Change-Id: Icdaa162f1b3b92e730fc7dc263c18c682a7f4098 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/low-can-binding.hpp')
-rw-r--r--src/low-can-binding.hpp23
1 files changed, 17 insertions, 6 deletions
diff --git a/src/low-can-binding.hpp b/src/low-can-binding.hpp
index 20dc5dc4..ea2c027c 100644
--- a/src/low-can-binding.hpp
+++ b/src/low-can-binding.hpp
@@ -18,7 +18,23 @@
#pragma once
+#include <queue>
+#include <sys/timeb.h>
+#include <linux/can.h>
+#include <json-c/json.h>
+#include <linux/can/raw.h>
+
+#include "obd2.hpp"
+#include "openxc.pb.h"
+#include "can-utils.hpp"
#include "can-signals.hpp"
+#include "can-decoder.hpp"
+#include "openxc-utils.hpp"
+
+/*
+ * Interface between the daemon and the binding
+ */
+static const struct afb_binding_interface *interface;
extern "C"
{
@@ -55,9 +71,4 @@ extern "C"
* @return Exit code, zero if success.
*/
int afbBindingV1ServiceInit(struct afb_service service);
-}
-
-/*
- * Interface between the daemon and the binding
- */
-static const struct afb_binding_interface *interface; \ No newline at end of file
+}; \ No newline at end of file