summaryrefslogtreecommitdiffstats
path: root/src/low-can-binding.hpp
diff options
context:
space:
mode:
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 20dc5dc..ea2c027 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