summaryrefslogtreecommitdiffstats
path: root/high-can-binding/high-can-binding-hat.hpp
blob: b91f0838d5f543a90910cc74013c3c75be1f8599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include <cstddef>
#include <systemd/sd-event.h>
extern "C"
{
    #define AFB_BINDING_VERSION 1
    #include <afb/afb-binding.h>
};

extern "C" struct afb_binding_interface;
extern "C" struct afb_service srvitf;
extern const struct afb_binding_interface *binder_interface;
    void subscribe(struct afb_req request);
    void unsubscribe(struct afb_req request);
    void get(struct afb_req request);
    void initHigh(afb_service service);
    int ticked(sd_event_source *source, unsigned long t, void *data);