aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-websock.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-04-15 16:40:38 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-04-15 16:40:38 +0200
commit68a8eaafe5f43480f29308bfd2ec12ad54da43f1 (patch)
tree5c8782a09cb48df20695fa6ba562e00f523d22f3 /src/afb-websock.h
parent67966a2f96613d833f493ef3773c442d35f8ed31 (diff)
use upoll for event loop
also add '#pragma once' in headers Change-Id: I90cc2d53ec60d4d1e66cf0f229109621e4019864 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-websock.h')
-rw-r--r--src/afb-websock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afb-websock.h b/src/afb-websock.h
index 4a0a3e55..646e98f8 100644
--- a/src/afb-websock.h
+++ b/src/afb-websock.h
@@ -15,6 +15,8 @@
* limitations under the License.
*/
+#pragma once
+
struct afb_hreq;
extern int afb_websock_check_upgrade(struct afb_hreq *hreq);