#pragma once extern "C" { #define AFB_BINDING_VERSION 2 #include } void onEvent(const char *event, struct json_object *object); int loadConf(); int execConf();