From 46d396e04947a76756739576a29c8369f8cd0c50 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 30 Mar 2017 17:19:59 +0200 Subject: Handle cancel active diag requet when there are no more subscribers When push events if there is no more subscribers to that event then call a function that will cleanup that request from diagnostic manager queue. Change-Id: I8153701074453444a5bba6f1374401bdf230f7e6 Signed-off-by: Romain Forlot --- src/low-can-binding.hpp | 5 ++++- 1 file changed, 4 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 04c7eac4..ed5741d8 100644 --- a/src/low-can-binding.hpp +++ b/src/low-can-binding.hpp @@ -19,6 +19,7 @@ #pragma once #include +#include extern "C" { @@ -27,4 +28,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; + +void on_no_clients(std::string message); \ No newline at end of file -- cgit 1.2.3-korg