aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-websock.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-03-29 16:41:36 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-03-29 16:41:36 +0200
commitacdf592fee6d7f1970e42e31c23c2a88196051aa (patch)
tree34a526d1f7c1a530d085a3b9c54052c860326bd4 /src/afb-websock.h
parent4d603302535155ffe71208e86de14c7abc4e775d (diff)
splitting rest-api in two parts
Change-Id: I6c1982660d60c5496b5ea0cd50fb8274e2eaf703 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-websock.h')
-rw-r--r--src/afb-websock.h21
1 files changed, 21 insertions, 0 deletions
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 <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.
+ */
+
+int afb_websock_check(struct afb_hreq *hreq, int *later);
+struct afb_websock *afb_websock_create(struct MHD_Connection *connection);
+
+