From 95ad0012182b5f32cc1dd9843304b58d263a7de0 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Thu, 5 Jul 2018 19:12:50 +0200 Subject: Simplify build by introducing queuing function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/afb-proto-ws.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/afb-proto-ws.h') 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); -- cgit 1.2.3-korg