summaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal-composer-binding.hpp
blob: 3b512f394e9eef9edef87794e2973b8f9cf068b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <systemd/sd-event.h>

#ifdef __cplusplus
	#include <cstddef>
extern "C"
{
#endif
	#define AFB_BINDING_VERSION 2
	#include <afb/afb-binding.h>
#ifdef __cplusplus
};
#endif

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