X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-ws.h;h=123efb73d6279d122cd648900347347fb10c59bd;hb=c8558c8a28966110aa3a356f95d3c60afe32b64a;hp=aef02d5bc360819531ca426bcd697d6869a96baa;hpb=09f78b70e5debb683e455f6c2de3a5ea0fd93d44;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-ws.h b/src/afb-api-ws.h index aef02d5b..123efb73 100644 --- a/src/afb-api-ws.h +++ b/src/afb-api-ws.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 "IoT.bzh" + * Copyright (C) 2016, 2017, 2018 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -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);