aboutsummaryrefslogtreecommitdiffstats
path: root/high-viwi-binding/high-viwi-binding.hpp
blob: 711e5312dcffc72d0f11444fd2823712f0724007 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once
#include <cstddef>
#include <systemd/sd-event.h>
extern "C"
{
    #define AFB_BINDING_VERSION 2
    #include <afb/afb-binding.h>
};

    void onEvent(const char *event, struct json_object *object);
    int init_service();
    int ticked(sd_event_source *source, uint64_t t, void *data);