+std::string get_application_id(const afb_req_t request);
+int readJsonFile(const char* file, struct json_object **obj);
+int writeJsonFile(const char* file, struct json_object *obj);
+
+typedef int (*event_hook_func)(afb_api_t api, const char *event, struct json_object *object);
+void setEventHook(const char *event, const event_hook_func f);