X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hswitch.h;h=f0dcba91bcb74552e4032fcca16612db8db4059d;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=f18b8b1433fb753bf6e08009def83afe309e7dec;hpb=83ce3b29a598141f8f28afde655beb07ec78c312;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hswitch.h b/src/afb-hswitch.h index f18b8b14..f0dcba91 100644 --- a/src/afb-hswitch.h +++ b/src/afb-hswitch.h @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2015 "IoT.bzh" +/* + * Copyright (C) 2015-2020 "IoT.bzh" * Author "Fulup Ar Foll" * Author José Bollo * @@ -16,7 +16,10 @@ * limitations under the License. */ +#pragma once + struct afb_hreq; + extern int afb_hswitch_apis(struct afb_hreq *hreq, void *data); extern int afb_hswitch_one_page_api_redirect(struct afb_hreq *hreq, void *data); extern int afb_hswitch_websocket_switch(struct afb_hreq *hreq, void *data);