diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-07-05 19:12:50 +0200 |
---|---|---|
committer | Jose Bollo <jose.bollo@iot.bzh> | 2018-07-06 12:40:33 +0200 |
commit | 95ad0012182b5f32cc1dd9843304b58d263a7de0 (patch) | |
tree | f9dd9571286980c882b10d6a2882c114e690b946 /src/afb-proto-ws.h | |
parent | 12ec841c28f8f795b49466cc377e64db3146430d (diff) |
Simplify build by introducing queuing function
It is not valuable at the end to continue to have this
fake job implementation. So removing it is good.
Change-Id: I930ade3e3a511f0ebfb91292e5725ac3be884d44
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-proto-ws.h')
-rw-r--r-- | src/afb-proto-ws.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afb-proto-ws.h b/src/afb-proto-ws.h index 342313e7..b5f84e9e 100644 --- a/src/afb-proto-ws.h +++ b/src/afb-proto-ws.h @@ -59,8 +59,9 @@ extern int afb_proto_ws_is_client(struct afb_proto_ws *protows); extern int afb_proto_ws_is_server(struct afb_proto_ws *protows); extern void afb_proto_ws_hangup(struct afb_proto_ws *protows); -extern void afb_proto_ws_on_hangup(struct afb_proto_ws *protows, void (*on_hangup)(void *closure)); +extern void afb_proto_ws_on_hangup(struct afb_proto_ws *protows, void (*on_hangup)(void *closure)); +extern void afb_proto_ws_set_queuing(struct afb_proto_ws *protows, int (*queuing)(void (*)(int,void*), void*)); extern int afb_proto_ws_client_call(struct afb_proto_ws *protows, const char *verb, struct json_object *args, const char *sessionid, void *request, const char *user_creds); |