X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-ws.h;h=237b07d3788e2ccf994175d1a8c300418e83e3bc;hb=f3d1f19ae308cc0559728c0ccf6281cbce5ee37c;hp=831d5ea08b07a33350c95f4bd1bb5eae9217514b;hpb=a8e971702f23ee67e02b4716ad4159f12cefdca6;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-ws.h b/src/afb-api-ws.h index 831d5ea0..237b07d3 100644 --- a/src/afb-api-ws.h +++ b/src/afb-api-ws.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 "IoT.bzh" + * Copyright (C) 2016-2019 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,10 +18,12 @@ #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 *uri, struct afb_apiset *declare_set, struct afb_apiset *call_set, int strong); +extern int afb_api_ws_add_client_strong(const char *uri, struct afb_apiset *declare_set, struct afb_apiset *call_set); +extern int afb_api_ws_add_client_weak(const char *uri, struct afb_apiset *declare_set, struct afb_apiset *call_set); -extern int afb_api_ws_add_server(const char *path, struct afb_apiset *apiset); +extern int afb_api_ws_add_server(const char *uri, struct afb_apiset *declare_set, struct afb_apiset *call_set);