api-v3: First draft
[src/app-framework-binder.git] / src / afb-stub-ws.h
index aa64336..e14eac1 100644 (file)
@@ -21,7 +21,7 @@
 struct fdev;
 struct afb_stub_ws;
 struct afb_apiset;
-struct afb_api;
+struct afb_api_item;
 
 extern struct afb_stub_ws *afb_stub_ws_create_client(struct fdev *fdev, const char *apiname, struct afb_apiset *apiset);
 
@@ -35,7 +35,7 @@ extern void afb_stub_ws_on_hangup(struct afb_stub_ws *stubws, void (*on_hangup)(
 
 extern const char *afb_stub_ws_name(struct afb_stub_ws *stubws);
 
-extern struct afb_api afb_stub_ws_client_api(struct afb_stub_ws *stubws);
+extern struct afb_api_item afb_stub_ws_client_api(struct afb_stub_ws *stubws);
 
 extern int afb_stub_ws_client_add(struct afb_stub_ws *stubws, struct afb_apiset *apiset);