summaryrefslogtreecommitdiffstats
path: root/src/afb-ws-json1.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-05-18 11:35:12 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-05-18 11:35:12 +0200
commit28158192742ead144454e071720d10bf5218a20b (patch)
treea9c91782a7f730f23ad643274802f73e292482cd /src/afb-ws-json1.h
parent5c1e761a2f84439b6e53ff1682ee665a7db2bca1 (diff)
propagate context creation to websocket
Change-Id: I9ff53f5920d6134030f3e1d63c46f4a30a5e1968 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-ws-json1.h')
-rw-r--r--src/afb-ws-json1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afb-ws-json1.h b/src/afb-ws-json1.h
index 964835bd..fedbcf6c 100644
--- a/src/afb-ws-json1.h
+++ b/src/afb-ws-json1.h
@@ -18,7 +18,7 @@
#pragma once
struct afb_ws_json1;
-struct AFB_clientCtx;
+struct afb_context;
-extern struct afb_ws_json1 *afb_ws_json1_create(int fd, struct AFB_clientCtx *context, void (*cleanup)(void*), void *closure);
+extern struct afb_ws_json1 *afb_ws_json1_create(int fd, struct afb_context *context, void (*cleanup)(void*), void *closure);