X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-ws.h;h=6f77b2b2132d86c398fde111df7bb9d737f80ee0;hb=refs%2Fheads%2Fsandbox%2FDDTLK%2Fpakage;hp=44dedca31e14e2e40aa0c1c9366a2090771e8208;hpb=8bfb43a861ca4562f1e5928cf9992849909c3e3a;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-ws.h b/src/afb-api-ws.h index 44dedca3..6f77b2b2 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, 2017, 2018 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,8 +20,10 @@ 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);