Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Definitive switch to internal's xreq
[src/app-framework-binder.git]
/
src
/
afb-api-dbus.c
diff --git
a/src/afb-api-dbus.c
b/src/afb-api-dbus.c
index
09af983
..
dc5273a
100644
(file)
--- a/
src/afb-api-dbus.c
+++ b/
src/afb-api-dbus.c
@@
-311,7
+311,7
@@
static int api_dbus_client_on_reply(sd_bus_message *message, void *userdata, sd_
}
/* on call, propagate it to the dbus service */
}
/* on call, propagate it to the dbus service */
-static void api_dbus_client_
x
call(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;
{
struct api_dbus *api = closure;
size_t size;
@@
-614,7
+614,7
@@
int afb_api_dbus_add_client(const char *path)
/* record it as an API */
afb_api.closure = api;
/* record it as an API */
afb_api.closure = api;
- afb_api.
xcall = api_dbus_client_x
call;
+ afb_api.
call = api_dbus_client_
call;
afb_api.service_start = api_dbus_service_start;
if (afb_apis_add(api->api, afb_api) < 0)
goto error2;
afb_api.service_start = api_dbus_service_start;
if (afb_apis_add(api->api, afb_api) < 0)
goto error2;
@@
-963,7
+963,7
@@
static int api_dbus_server_on_object_called(sd_bus_message *message, void *userd
dreq->xreq.queryitf = &afb_api_dbus_xreq_itf;
dreq->xreq.api = api->api;
dreq->xreq.verb = method;
dreq->xreq.queryitf = &afb_api_dbus_xreq_itf;
dreq->xreq.api = api->api;
dreq->xreq.verb = method;
- afb_apis_
x
call(&dreq->xreq);
+ afb_apis_call(&dreq->xreq);
afb_xreq_unref(&dreq->xreq);
return 1;
afb_xreq_unref(&dreq->xreq);
return 1;