TianoCore EDK2 master
Loading...
Searching...
No Matches
RedfishRestExInternal.h
Go to the documentation of this file.
1
12#ifndef EFI_REDFISH_RESTEX_INTERNAL_H_
13#define EFI_REDFISH_RESTEX_INTERNAL_H_
14
18#include <Library/BaseLib.h>
20#include <Library/DebugLib.h>
22#include <Library/HttpIoLib.h>
24#include <Library/NetLib.h>
26#include <Library/UefiLib.h>
29
34#include <Protocol/RestEx.h>
36
37#include "RedfishRestExDriver.h"
38
54 IN RESTEX_INSTANCE *Instance,
55 IN EFI_STATUS HttpIoReceiveStatus
56 );
57
69 IN RESTEX_INSTANCE *Instance
70 );
71
96 IN EFI_HTTP_MESSAGE *RequestMessage,
97 IN EFI_HTTP_HEADER **PreservedRequestHeaders,
98 IN BOOLEAN *ItsWrite
99 );
100
121EFIAPI
124 IN EFI_HTTP_MESSAGE *RequestMessage,
125 OUT EFI_HTTP_MESSAGE *ResponseMessage
126 );
127
151EFIAPI
154 OUT EFI_TIME *Time
155 );
156
189EFIAPI
192 OUT EFI_REST_EX_SERVICE_INFO **RestExServiceInfo
193 );
194
222EFIAPI
225 OUT EFI_REST_EX_CONFIG_DATA *RestExConfigData
226 );
227
260EFIAPI
263 IN EFI_REST_EX_CONFIG_DATA RestExConfigData
264 );
265
298EFIAPI
301 IN EFI_HTTP_MESSAGE *RequestMessage OPTIONAL,
302 IN EFI_REST_EX_TOKEN *RestExToken,
303 IN UINTN *TimeOutInMilliSeconds OPTIONAL
304 );
305
333EFIAPI
336 IN EFI_HTTP_MESSAGE *RequestMessage OPTIONAL,
337 IN EFI_REST_EX_TOKEN *RestExToken
338 );
339
352 IN RESTEX_INSTANCE *Instance
353 );
354
366EFIAPI
368 IN LIST_ENTRY *Entry,
369 IN VOID *Context
370 );
371
378VOID
380 IN RESTEX_INSTANCE *Instance
381 );
382
395 IN RESTEX_SERVICE *Service,
396 OUT RESTEX_INSTANCE **Instance
397 );
398
405VOID
407 IN RESTEX_SERVICE *RestExSb
408 );
409
425 IN EFI_HANDLE Controller,
426 IN EFI_HANDLE Image,
427 OUT RESTEX_SERVICE **Service
428 );
429
442EFIAPI
444 IN EFI_HANDLE ImageHandle,
445 IN EFI_SYSTEM_TABLE *SystemTable
446 );
447
491EFIAPI
494 IN EFI_HANDLE ControllerHandle,
495 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
496 );
497
534EFIAPI
537 IN EFI_HANDLE ControllerHandle,
538 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
539 );
540
568EFIAPI
571 IN EFI_HANDLE ControllerHandle,
572 IN UINTN NumberOfChildren,
573 IN EFI_HANDLE *ChildHandleBuffer OPTIONAL
574 );
575
596EFIAPI
599 IN EFI_HANDLE *ChildHandle
600 );
601
621EFIAPI
624 IN EFI_HANDLE ChildHandle
625 );
626
627#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS RestExCreateService(IN EFI_HANDLE Controller, IN EFI_HANDLE Image, OUT RESTEX_SERVICE **Service)
EFI_STATUS EFIAPI RedfishRestExDriverBindingStop(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer OPTIONAL)
EFI_STATUS RestExCreateInstance(IN RESTEX_SERVICE *Service, OUT RESTEX_INSTANCE **Instance)
EFI_STATUS EFIAPI RedfishRestExEventService(IN EFI_REST_EX_PROTOCOL *This, IN EFI_HTTP_MESSAGE *RequestMessage OPTIONAL, IN EFI_REST_EX_TOKEN *RestExToken)
EFI_STATUS EFIAPI RedfishRestExDriverBindingSupported(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
EFI_STATUS EFIAPI RedfishRestExServiceBindingCreateChild(IN EFI_SERVICE_BINDING_PROTOCOL *This, IN EFI_HANDLE *ChildHandle)
EFI_STATUS EFIAPI RestExDestroyChildEntryInHandleBuffer(IN LIST_ENTRY *Entry, IN VOID *Context)
VOID RestExDestroyService(IN RESTEX_SERVICE *RestExSb)
EFI_STATUS RedfishCheckHttpReceiveStatus(IN RESTEX_INSTANCE *Instance, IN EFI_STATUS HttpIoReceiveStatus)
EFI_STATUS EFIAPI RedfishRestExDriverEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS EFIAPI RedfishRestExSendReceive(IN EFI_REST_EX_PROTOCOL *This, IN EFI_HTTP_MESSAGE *RequestMessage, OUT EFI_HTTP_MESSAGE *ResponseMessage)
EFI_STATUS EFIAPI RedfishRestExGetServiceTime(IN EFI_REST_EX_PROTOCOL *This, OUT EFI_TIME *Time)
EFI_STATUS EFIAPI RedfishRestExConfigure(IN EFI_REST_EX_PROTOCOL *This, IN EFI_REST_EX_CONFIG_DATA RestExConfigData)
VOID RestExDestroyInstance(IN RESTEX_INSTANCE *Instance)
EFI_STATUS EFIAPI RedfishRestExServiceBindingDestroyChild(IN EFI_SERVICE_BINDING_PROTOCOL *This, IN EFI_HANDLE ChildHandle)
EFI_STATUS RedfishHttpAddExpectation(IN EFI_REST_EX_PROTOCOL *This, IN EFI_HTTP_MESSAGE *RequestMessage, IN EFI_HTTP_HEADER **PreservedRequestHeaders, IN BOOLEAN *ItsWrite)
EFI_STATUS EFIAPI RedfishRestExGetModeData(IN EFI_REST_EX_PROTOCOL *This, OUT EFI_REST_EX_CONFIG_DATA *RestExConfigData)
EFI_STATUS EFIAPI RedfishRestExGetService(IN EFI_REST_EX_PROTOCOL *This, OUT EFI_REST_EX_SERVICE_INFO **RestExServiceInfo)
EFI_STATUS EFIAPI RedfishRestExAyncSendReceive(IN EFI_REST_EX_PROTOCOL *This, IN EFI_HTTP_MESSAGE *RequestMessage OPTIONAL, IN EFI_REST_EX_TOKEN *RestExToken, IN UINTN *TimeOutInMilliSeconds OPTIONAL)
EFI_STATUS ResetHttpTslSession(IN RESTEX_INSTANCE *Instance)
EFI_STATUS EFIAPI RedfishRestExDriverBindingStart(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33