X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flow-can-binding.hpp;h=5c43ded8c6419224fc28fd96014c5ccb6d64bb7b;hb=cddc9c28e3e1a242e55f68c9971d0710ada30e9f;hp=a46da6af0f88b29d79fbf7bb744aa241f4a82635;hpb=cba9b59fab054d3a33a4d58ed227fc3d4b6f6d9d;p=apps%2Fagl-service-can-low-level.git diff --git a/src/low-can-binding.hpp b/src/low-can-binding.hpp index a46da6af..5c43ded8 100644 --- a/src/low-can-binding.hpp +++ b/src/low-can-binding.hpp @@ -39,7 +39,6 @@ #include #include -#include "obd2.hpp" #include "timer.hpp" #include "openxc.pb.h" #include "can-utils.hpp" @@ -47,6 +46,8 @@ #include "can-decoder.hpp" #include "openxc-utils.hpp" +#define MESSAGE_SET_ID 0 + /* * Interface between the daemon and the binding */ @@ -87,4 +88,10 @@ extern "C" * @return Exit code, zero if success. */ int afbBindingV1ServiceInit(struct afb_service service); -}; \ No newline at end of file +}; + +/** Can signal event map making access to afb_event + * external to openxc existing structure. + */ +static std::map subscribed_signals; +static std::map::iterator subscribed_signals_i;