X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-websock.h;h=324ee1fd76979ce904c3d38b8e1d8211dc4f6087;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=be3495632cef7d1a469481660614b78cd1df4355;hpb=fb230eee946673ed5ebe9659d623c2a06d0a80ce;p=src%2Fapp-framework-binder.git diff --git a/src/afb-websock.h b/src/afb-websock.h index be349563..324ee1fd 100644 --- a/src/afb-websock.h +++ b/src/afb-websock.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 IoT.bzh + * Copyright (C) 2015-2020 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,7 +15,11 @@ * limitations under the License. */ -int afb_websock_check(struct afb_hreq *hreq, int *later); -struct afb_websock *afb_websock_create(struct afb_hreq *hreq); +#pragma once + +struct afb_hreq; +struct afb_apiset; + +extern int afb_websock_check_upgrade(struct afb_hreq *hreq, struct afb_apiset *apiset);