summaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal-composer-binding.hpp
blob: 7bf1df14d951582cc22005a737cc453cd5e63a25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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 loadConf();
int execConf();
int ticked(sd_event_source *source, uint64_t t, void *data);