aboutsummaryrefslogtreecommitdiffstats
path: root/high-viwi-binding/high-viwi-binding.hpp
blob: 5db5a4c44bb322a89fed3b8f91980827ba8bb71a (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);