From acdf592fee6d7f1970e42e31c23c2a88196051aa Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 29 Mar 2016 16:41:36 +0200 Subject: splitting rest-api in two parts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6c1982660d60c5496b5ea0cd50fb8274e2eaf703 Signed-off-by: José Bollo --- src/afb-websock.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/afb-websock.h (limited to 'src/afb-websock.h') diff --git a/src/afb-websock.h b/src/afb-websock.h new file mode 100644 index 00000000..db40b9ae --- /dev/null +++ b/src/afb-websock.h @@ -0,0 +1,21 @@ +/* + * Copyright 2016 IoT.bzh + * Author: José Bollo + * + * 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. + */ + +int afb_websock_check(struct afb_hreq *hreq, int *later); +struct afb_websock *afb_websock_create(struct MHD_Connection *connection); + + -- cgit 1.2.3-korg