X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-ws.h;h=fadb3cb520721041f37c08631476678347e0191b;hb=f1b9dde05e420a06ee4a3f53d8bbd2739e255fb3;hp=9da4e0124e34ae551125426aece9ed426d715435;hpb=a38382e89710db2c298f7f101e3ba0cf3681287c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-ws.h b/src/afb-api-ws.h index 9da4e012..fadb3cb5 100644 --- a/src/afb-api-ws.h +++ b/src/afb-api-ws.h @@ -18,12 +18,12 @@ #pragma once -struct afb_req_itf; +struct afb_apiset; -extern const struct afb_req_itf afb_api_ws_req_itf; +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_client(const char *path); - -extern int afb_api_ws_add_server(const char *path); +extern int afb_api_ws_add_server(const char *path, struct afb_apiset *apiset);