propagate context creation to websocket
[src/app-framework-binder.git] / src / afb-ws-json1.h
index 964835b..fedbcf6 100644 (file)
@@ -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);