diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-30 17:19:59 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-04-11 12:41:42 +0200 |
commit | 46d396e04947a76756739576a29c8369f8cd0c50 (patch) | |
tree | 6f27b769b2880c291d7b2704c414e35c22c1b85d /src/low-can-binding.hpp | |
parent | 34d84de6e8b825ced7d476672035c0b94856862e (diff) |
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 <romain.forlot@iot.bzh>
Diffstat (limited to 'src/low-can-binding.hpp')
-rw-r--r-- | src/low-can-binding.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 <cstddef> +#include <string> 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 |