X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-websock.h;h=cfbf1ec0c368bb975bf7d75a8b1de19b9c6cef49;hb=13a5afe7dbd698b2d85212cf4275858a1734a49e;hp=db40b9ae4da5706b3783cb126340eb5c219805e5;hpb=acdf592fee6d7f1970e42e31c23c2a88196051aa;p=src%2Fapp-framework-binder.git diff --git a/src/afb-websock.h b/src/afb-websock.h index db40b9ae..cfbf1ec0 100644 --- a/src/afb-websock.h +++ b/src/afb-websock.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 IoT.bzh + * Copyright (C) 2016, 2017, 2018 "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 MHD_Connection *connection); +#pragma once + +struct afb_hreq; +struct afb_apiset; + +extern int afb_websock_check_upgrade(struct afb_hreq *hreq, struct afb_apiset *apiset);