diff options
Diffstat (limited to 'low-can-binding/utils/socketcan-j1939.hpp')
-rw-r--r-- | low-can-binding/utils/socketcan-j1939.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/low-can-binding/utils/socketcan-j1939.hpp b/low-can-binding/utils/socketcan-j1939.hpp index d3b01fc4..2b370179 100644 --- a/low-can-binding/utils/socketcan-j1939.hpp +++ b/low-can-binding/utils/socketcan-j1939.hpp @@ -34,6 +34,7 @@ namespace utils virtual std::shared_ptr<message_t> read_message(); virtual void write_message(std::shared_ptr<message_t> obj); virtual void write_message(std::vector<std::shared_ptr<message_t>>& vobj); + virtual int write_message(message_t& obj); private: int connect(const struct sockaddr* addr, socklen_t len); |