RedfishPkg[all]  1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
RestExLib.h File Reference

Functions

EFI_STATUS RestExLibCreateChild (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

SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

EFI_STATUS RestExLibCreateChild ( 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]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.