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
Ensure that subcall_sync use subcall
[src/app-framework-binder.git]
/
src
/
afb-api-ws.c
diff --git
a/src/afb-api-ws.c
b/src/afb-api-ws.c
index
8267187
..
5c3dcd4
100644
(file)
--- a/
src/afb-api-ws.c
+++ b/
src/afb-api-ws.c
@@
-765,7
+765,7
@@
static void api_ws_client_on_binary(void *closure, char *data, size_t size)
}
/* on call, propagate it to the ws service */
}
/* on call, propagate it to the ws service */
-static void api_ws_client_
x
call_cb(void * closure, struct afb_xreq *xreq)
+static void api_ws_client_call_cb(void * closure, struct afb_xreq *xreq)
{
int rc;
struct api_ws_memo *memo;
{
int rc;
struct api_ws_memo *memo;
@@
-877,7
+877,7
@@
int afb_api_ws_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_ws_client_x
call_cb;
+ afb_api.
call = api_ws_client_
call_cb;
afb_api.service_start = api_ws_service_start_cb;
if (afb_apis_add(api->api, afb_api) < 0)
goto error3;
afb_api.service_start = api_ws_service_start_cb;
if (afb_apis_add(api->api, afb_api) < 0)
goto error3;
@@
-944,7
+944,7
@@
static void api_ws_server_called(struct api_ws_client *client, struct readbuf *r
wreq->xreq.verb = verb;
wreq->xreq.query = wreq;
wreq->xreq.queryitf = &afb_api_ws_xreq_itf;
wreq->xreq.verb = verb;
wreq->xreq.query = wreq;
wreq->xreq.queryitf = &afb_api_ws_xreq_itf;
- afb_apis_
x
call(&wreq->xreq);
+ afb_apis_call(&wreq->xreq);
afb_xreq_unref(&wreq->xreq);
return;
afb_xreq_unref(&wreq->xreq);
return;