-static void dbus_req_success(void *closure, struct json_object *obj, const char *info)
-{
- struct dbus_req *dreq = closure;
-
- dbus_req_reply(dreq, RETOK, json_object_to_json_string_ext(obj, JSON_C_TO_STRING_PLAIN), info);
-}
-
-static void dbus_req_fail(void *closure, const char *status, const char *info)
-{
- struct dbus_req *dreq = closure;
-
- dbus_req_reply(dreq, RETERR, status, info);
-}
-
-static void afb_api_dbus_server_event_send(struct destination *destination, char order, const char *event, int eventid, const char *data, uint64_t msgid);
+static void afb_api_dbus_server_event_send(struct origin *origin, char order, const char *event, int eventid, const char *data, uint64_t msgid);