aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-ws-json1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-ws-json1.h')
-rw-r--r--src/afb-ws-json1.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/afb-ws-json1.h b/src/afb-ws-json1.h
index 3bcda818..335ca608 100644
--- a/src/afb-ws-json1.h
+++ b/src/afb-ws-json1.h
@@ -19,9 +19,7 @@
struct afb_ws_json1;
struct afb_context;
-struct afb_req_itf;
+struct afb_apiset;
-extern const struct afb_req_itf afb_ws_json1_req_itf;
-
-extern struct afb_ws_json1 *afb_ws_json1_create(int fd, struct afb_context *context, void (*cleanup)(void*), void *closure);
+extern struct afb_ws_json1 *afb_ws_json1_create(int fd, struct afb_apiset *apiset, struct afb_context *context, void (*cleanup)(void*), void *closure);