X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-websock.h;h=f853814b27d9f79488c46b99b1f4b32e0d1cf057;hb=f3d1f19ae308cc0559728c0ccf6281cbce5ee37c;hp=4f7ea91237e2b07710bb585b6e552410f3613eac;hpb=94014f46d4751492133f65b12f1dea1cfa36d021;p=src%2Fapp-framework-binder.git diff --git a/src/afb-websock.h b/src/afb-websock.h index 4f7ea912..f853814b 100644 --- a/src/afb-websock.h +++ b/src/afb-websock.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 IoT.bzh + * Copyright (C) 2016-2019 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,10 +15,11 @@ * limitations under the License. */ +#pragma once + struct afb_hreq; -struct afb_websock; +struct afb_apiset; -extern int afb_websock_check(struct afb_hreq *hreq, int *later); -extern struct afb_websock *afb_websock_create(struct afb_hreq *hreq); +extern int afb_websock_check_upgrade(struct afb_hreq *hreq, struct afb_apiset *apiset);