TianoCore EDK2 master
|
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/NetLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/Http.h>
#include <Protocol/RestEx.h>
Go to the source code of this file.
Macros | |
#define | REST_EX_CONFIG_DATA_LEN_UNKNOWN 0xff |
Functions | |
EFI_STATUS | RestExLibCreateChild (IN EFI_HANDLE Controller, IN EFI_HANDLE Image, IN EFI_REST_EX_SERVICE_ACCESS_MODE AccessMode, IN EFI_REST_EX_CONFIG_TYPE ConfigType, IN EFI_REST_EX_SERVICE_TYPE ServiceType, OUT EFI_HANDLE *ChildInstanceHandle) |
This library provides help functions for REST EX Protocol.
(C) Copyright 2020 Hewlett Packard Enterprise Development LP
Copyright (c) 2023, Ampere Computing LLC. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DxeRestExLib.c.
#define REST_EX_CONFIG_DATA_LEN_UNKNOWN 0xff |
Definition at line 20 of file DxeRestExLib.c.
EFI_STATUS RestExLibCreateChild | ( | IN EFI_HANDLE | Controller, |
IN EFI_HANDLE | Image, | ||
IN EFI_REST_EX_SERVICE_ACCESS_MODE | AccessMode, | ||
IN EFI_REST_EX_CONFIG_TYPE | ConfigType, | ||
IN EFI_REST_EX_SERVICE_TYPE | ServiceType, | ||
OUT EFI_HANDLE * | ChildInstanceHandle | ||
) |
This function allows the caller to create child handle for specific REST server.
[in] | Controller | The controller handle used of selected interface. |
[in] | Image | The image handle used to open service. |
[in] | AccessMode | Access mode of REST server. |
[in] | ConfigType | Underlying configuration to communicate with REST server. |
[in] | ServiceType | REST service type. |
[out] | ChildInstanceHandle | The handle to receive the create child. |
EFI_SUCCESS | Can't create the corresponding REST EX child instance. |
EFI_INVALID_PARAMETERS | Any of input parameters is improper. |
Definition at line 38 of file DxeRestExLib.c.