X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hswitch.h;h=c831e252ea45e9f88947683ac8c9185e4346929e;hb=f3d1f19ae308cc0559728c0ccf6281cbce5ee37c;hp=f18b8b1433fb753bf6e08009def83afe309e7dec;hpb=83ce3b29a598141f8f28afde655beb07ec78c312;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hswitch.h b/src/afb-hswitch.h index f18b8b14..c831e252 100644 --- a/src/afb-hswitch.h +++ b/src/afb-hswitch.h @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2015 "IoT.bzh" +/* + * Copyright (C) 2015-2019 "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);