#pragma once #include #include extern "C" { #define AFB_BINDING_VERSION 2 #include }; void onEvent(const char *event, struct json_object *object); void subscribe(afb_req request); void unsubscribe(afb_req request); void get(afb_req request); void initHigh(); int ticked(sd_event_source *source, uint64_t t, void *data);