afb-api-ws: Make weak ws-client by default (to be fixed)
[src/app-framework-binder.git] / src / afb-api-ws.h
index 831d5ea..fadb3cb 100644 (file)
 
 #pragma once
 
-struct afb_req_itf;
+struct afb_apiset;
 
-extern int afb_api_ws_add_client(const char *path, struct afb_apiset *apiset);
+extern int afb_api_ws_add_client(const char *path, struct afb_apiset *apiset, int strong);
+extern int afb_api_ws_add_client_strong(const char *path, struct afb_apiset *apiset);
+extern int afb_api_ws_add_client_weak(const char *path, struct afb_apiset *apiset);
 
 extern int afb_api_ws_add_server(const char *path, struct afb_apiset *apiset);