diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-08-03 15:54:48 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-08-03 15:54:48 +0200 |
commit | 09f78b70e5debb683e455f6c2de3a5ea0fd93d44 (patch) | |
tree | 4d084f72e9a2dd4821dea45345f3302865d4bb90 /src/afb-api-ws.h | |
parent | e22f8536c5f8833828a6d5cb8f5a77a8c0712e08 (diff) |
websocket transparancy for C/S bindings
Change-Id: Ia78621ca4d3298fd45f3486ee64c3785c8ab6d8d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api-ws.h')
-rw-r--r-- | src/afb-api-ws.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/afb-api-ws.h b/src/afb-api-ws.h new file mode 100644 index 00000000..aef02d5b --- /dev/null +++ b/src/afb-api-ws.h @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2016 "IoT.bzh" + * Author: José Bollo <jose.bollo@iot.bzh> + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +#pragma once + +struct afb_req_itf; + +extern const struct afb_req_itf afb_api_ws_req_itf; + +extern int afb_api_ws_add_client(const char *path); + +extern int afb_api_ws_add_server(const char *path); + + |