TianoCore EDK2 master
Loading...
Searching...
No Matches
RestExLib.h File Reference
#include <Protocol/RestEx.h>

Go to the source code of this file.

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)
 

Detailed Description

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 RestExLib.h.

Function Documentation

◆ RestExLibCreateChild()

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 
)

Library class public functions This function allows the caller to create child handle for specific REST server.

Parameters
[in]ControllerThe controller handle used of selected interface.
[in]ImageThe image handle used to open service.
[in]AccessModeAccess mode of REST server.
[in]ConfigTypeUnderlying configuration to communicate with REST server.
[in]ServiceTypeREST service type.
[out]ChildInstanceHandleThe handle to receive the create child.
Return values
EFI_SUCCESSCan't create the corresponding REST EX child instance.
EFI_INVALID_PARAMETERSAny of input parameters is improper.

This function allows the caller to create child handle for specific REST server.

Parameters
[in]ControllerThe controller handle used of selected interface.
[in]ImageThe image handle used to open service.
[in]AccessModeAccess mode of REST server.
[in]ConfigTypeUnderlying configuration to communicate with REST server.
[in]ServiceTypeREST service type.
[out]ChildInstanceHandleThe handle to receive the create child.
Return values
EFI_SUCCESSCan't create the corresponding REST EX child instance.
EFI_INVALID_PARAMETERSAny of input parameters is improper.

Definition at line 38 of file DxeRestExLib.c.