}
/* on call, propagate it to the dbus service */
-static void api_dbus_client_xcall(void *closure, struct afb_xreq *xreq)
+static void api_dbus_client_call(void *closure, struct afb_xreq *xreq)
{
struct api_dbus *api = closure;
size_t size;
/* record it as an API */
afb_api.closure = api;
- afb_api.xcall = api_dbus_client_xcall;
+ afb_api.call = api_dbus_client_call;
afb_api.service_start = api_dbus_service_start;
+ afb_api.update_hooks = NULL;
if (afb_apis_add(api->api, afb_api) < 0)
goto error2;
dreq->xreq.queryitf = &afb_api_dbus_xreq_itf;
dreq->xreq.api = api->api;
dreq->xreq.verb = method;
- afb_apis_xcall(&dreq->xreq);
+ afb_apis_call(&dreq->xreq);
afb_xreq_unref(&dreq->xreq);
return 1;