Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: c++11 detected and not applied from config
[apps/agl-service-can-low-level.git]
/
CAN-binder
/
low-can-binding
/
binding
/
low-can-hat.hpp
diff --git
a/CAN-binder/low-can-binding/binding/low-can-hat.hpp
b/CAN-binder/low-can-binding/binding/low-can-hat.hpp
index
b3384d7
..
632dbc9
100644
(file)
--- a/
CAN-binder/low-can-binding/binding/low-can-hat.hpp
+++ b/
CAN-binder/low-can-binding/binding/low-can-hat.hpp
@@
-20,6
+20,7
@@
#include <cstddef>
#include <string>
#include <cstddef>
#include <string>
+#include <memory>
#include <systemd/sd-event.h>
extern "C"
#include <systemd/sd-event.h>
extern "C"
@@
-31,7
+32,10
@@
extern "C" struct afb_binding_interface;
extern const struct afb_binding_interface *binder_interface;
extern const struct afb_binding_interface *binder_interface;
-void on_no_clients(std::string message);
+class low_can_subscription_t;
+
+void on_no_clients(std::shared_ptr<low_can_subscription_t> can_subscription);
+void on_no_clients(std::shared_ptr<low_can_subscription_t> can_subscription, uint32_t pid);
int read_message(sd_event_source *s, int fd, uint32_t revents, void *userdata);
void subscribe(struct afb_req request);
int read_message(sd_event_source *s, int fd, uint32_t revents, void *userdata);
void subscribe(struct afb_req request);