-static void svc_on_event_v1(void *closure, const char *event, int eventid, struct json_object *object)
-{
- struct afb_svc *svc = closure;
- svc->on_event_v1(event, object);
- json_object_put(object);
-}
-
-/*
- * Propagates the event to the service
- */
-static void svc_on_event_v2(void *closure, const char *event, int eventid, struct json_object *object)
+static void svc_on_event(void *closure, const char *event, int eventid, struct json_object *object)