TianoCore EDK2 master
Loading...
Searching...
No Matches
HttpDriver.h
Go to the documentation of this file.
1
11#ifndef __EFI_HTTP_DRIVER_H__
12#define __EFI_HTTP_DRIVER_H__
13
14#include <Uefi.h>
16
17//
18// Libraries
19//
23#include <Library/BaseLib.h>
24#include <Library/UefiLib.h>
25#include <Library/DebugLib.h>
26#include <Library/NetLib.h>
27#include <Library/HttpLib.h>
28#include <Library/DpcLib.h>
29
30//
31// UEFI Driver Model Protocols
32//
37
38//
39// Consumed Protocols
40//
42#include <Protocol/Tcp4.h>
43#include <Protocol/Tcp6.h>
44#include <Protocol/Dns4.h>
45#include <Protocol/Dns6.h>
46#include <Protocol/Ip4Config2.h>
47#include <Protocol/Ip6Config.h>
48#include <Protocol/Tls.h>
49#include <Protocol/TlsConfig.h>
51
53//
54// Produced Protocols
55//
56#include <Protocol/Http.h>
57
60
62
63//
64// Driver Version
65//
66#define HTTP_DRIVER_VERSION 0xa
67
68//
69// Protocol instances
70//
72extern EFI_DRIVER_BINDING_PROTOCOL gHttpDxeIp6DriverBinding;
73
76
77extern EFI_HTTP_UTILITIES_PROTOCOL *mHttpUtilities;
78
79//
80// Include files with function prototypes
81//
82#include "ComponentName.h"
83#include "HttpImpl.h"
84#include "HttpProto.h"
85#include "HttpsSupport.h"
86#include "HttpDns.h"
87
88typedef struct {
89 EFI_SERVICE_BINDING_PROTOCOL *ServiceBinding;
90 UINTN NumberOfChildren;
91 EFI_HANDLE *ChildHandleBuffer;
93
137EFIAPI
140 IN EFI_HANDLE ControllerHandle,
141 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
142 );
143
180EFIAPI
183 IN EFI_HANDLE ControllerHandle,
184 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
185 );
186
214EFIAPI
217 IN EFI_HANDLE ControllerHandle,
218 IN UINTN NumberOfChildren,
219 IN EFI_HANDLE *ChildHandleBuffer OPTIONAL
220 );
221
265EFIAPI
268 IN EFI_HANDLE ControllerHandle,
269 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
270 );
271
309EFIAPI
312 IN EFI_HANDLE ControllerHandle,
313 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
314 );
315
343EFIAPI
346 IN EFI_HANDLE ControllerHandle,
347 IN UINTN NumberOfChildren,
348 IN EFI_HANDLE *ChildHandleBuffer OPTIONAL
349 );
350
371EFIAPI
374 IN OUT EFI_HANDLE *ChildHandle
375 );
376
394EFIAPI
397 IN EFI_HANDLE ChildHandle
398 );
399
400#endif
UINT64 UINTN
EFI_COMPONENT_NAME_PROTOCOL gHttpDxeComponentName
Definition: ComponentName.c:17
EFI_STATUS EFIAPI HttpDxeIp4DriverBindingStop(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer OPTIONAL)
Definition: HttpDriver.c:718
EFI_STATUS EFIAPI HttpDxeIp6DriverBindingStop(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer OPTIONAL)
Definition: HttpDriver.c:872
EFI_STATUS EFIAPI HttpServiceBindingCreateChild(IN EFI_SERVICE_BINDING_PROTOCOL *This, IN OUT EFI_HANDLE *ChildHandle)
Definition: HttpDriver.c:909
EFI_STATUS EFIAPI HttpDxeIp4DriverBindingStart(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
Definition: HttpDriver.c:676
EFI_DRIVER_BINDING_PROTOCOL gHttpDxeIp4DriverBinding
Definition: HttpDriver.c:19
EFI_STATUS EFIAPI HttpDxeIp6DriverBindingSupported(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
Definition: HttpDriver.c:778
EFI_STATUS EFIAPI HttpDxeIp6DriverBindingStart(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
Definition: HttpDriver.c:830
EFI_STATUS EFIAPI HttpServiceBindingDestroyChild(IN EFI_SERVICE_BINDING_PROTOCOL *This, IN EFI_HANDLE ChildHandle)
Definition: HttpDriver.c:992
EFI_COMPONENT_NAME2_PROTOCOL gHttpDxeComponentName2
Definition: ComponentName.c:27
EFI_STATUS EFIAPI HttpDxeIp4DriverBindingSupported(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
Definition: HttpDriver.c:624
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33