OpenCore
1.0.4
OpenCore Bootloader
|
#include "NetworkBootInternal.h"
#include <IndustryStandard/Http11.h>
#include <Library/HttpLib.h>
#include <Protocol/Http.h>
Go to the source code of this file.
Macros | |
#define | HTTP_CONTENT_TYPE_APP_EFI "application/efi" |
Functions | |
EFI_STATUS | ValidateDmgAndHttps (CHAR16 *Uri, BOOLEAN ShowLog, BOOLEAN *HasDmgExtension) |
STATIC EFI_STATUS EFIAPI | OpenNetworkBootHttpBootCallback (IN EFI_HTTP_BOOT_CALLBACK_PROTOCOL *This, IN EFI_HTTP_BOOT_CALLBACK_DATA_TYPE DataType, IN BOOLEAN Received, IN UINT32 DataLength, IN VOID *Data OPTIONAL) |
STATIC VOID EFIAPI | NotifyInstallHttpBootCallback (IN EFI_EVENT Event, IN VOID *Context) |
BOOLEAN | UriWasValidated (VOID) |
EFI_EVENT | MonitorHttpBootCallback (EFI_HANDLE LoadFileHandle) |
Variables | |
OC_DMG_LOADING_SUPPORT | gDmgLoading |
STATIC EFI_HTTP_BOOT_CALLBACK | mOriginalHttpBootCallback |
STATIC BOOLEAN | mUriValidated |
Callback handler for HTTP Boot.
Copyright (c) 2024, Mike Beaton. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
Definition in file HttpBootCallback.c.
#define HTTP_CONTENT_TYPE_APP_EFI "application/efi" |
Definition at line 14 of file HttpBootCallback.c.
EFI_EVENT MonitorHttpBootCallback | ( | EFI_HANDLE | LoadFileHandle | ) |
Definition at line 245 of file HttpBootCallback.c.
STATIC VOID EFIAPI NotifyInstallHttpBootCallback | ( | IN EFI_EVENT | Event, |
IN VOID * | Context ) |
Definition at line 199 of file HttpBootCallback.c.
STATIC EFI_STATUS EFIAPI OpenNetworkBootHttpBootCallback | ( | IN EFI_HTTP_BOOT_CALLBACK_PROTOCOL * | This, |
IN EFI_HTTP_BOOT_CALLBACK_DATA_TYPE | DataType, | ||
IN BOOLEAN | Received, | ||
IN UINT32 | DataLength, | ||
IN VOID *Data | OPTIONAL ) |
Definition at line 82 of file HttpBootCallback.c.
BOOLEAN UriWasValidated | ( | VOID | ) |
Definition at line 237 of file HttpBootCallback.c.
EFI_STATUS ValidateDmgAndHttps | ( | CHAR16 * | Uri, |
BOOLEAN | ShowLog, | ||
BOOLEAN * | HasDmgExtension ) |
Definition at line 28 of file HttpBootCallback.c.
OC_DMG_LOADING_SUPPORT gDmgLoading |
Current DmgLoading setting, for HTTP BOOT callback validation.
Definition at line 16 of file HttpBootCallback.c.
STATIC EFI_HTTP_BOOT_CALLBACK mOriginalHttpBootCallback |
Definition at line 18 of file HttpBootCallback.c.
STATIC BOOLEAN mUriValidated |
Definition at line 19 of file HttpBootCallback.c.