From 5ca29abe529794c1c2a2663378b0719e902c1077 Mon Sep 17 00:00:00 2001 From: Jiaxin Wu Date: Wed, 26 Aug 2015 06:19:53 +0000 Subject: NetworkPkg: Update HttpDxe driver to consume EFI_HTTP_UTILITIES_PROTOCOL v2: * Register a notification function to be executed for Http utilities protocol in the drivers entry points. Since we add EFI_HTTP_UTILITIES_PROTOCOL support, HttpDxe driver should be updated to remove internal http utilities functions and consume this protocol directly. Cc: Ye Ting Cc: Siyuan Fu Cc: Samer El-Haj-Mahmoud Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu Reviewed-by: Fu Siyuan git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18316 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/HttpDxe/HttpDriver.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'NetworkPkg/HttpDxe/HttpDriver.h') diff --git a/NetworkPkg/HttpDxe/HttpDriver.h b/NetworkPkg/HttpDxe/HttpDriver.h index 5bad7059f3..d95b05b634 100644 --- a/NetworkPkg/HttpDxe/HttpDriver.h +++ b/NetworkPkg/HttpDxe/HttpDriver.h @@ -41,6 +41,7 @@ // // Consumed Protocols // +#include #include #include #include @@ -62,6 +63,8 @@ extern EFI_DRIVER_BINDING_PROTOCOL gHttpDxeDriverBinding; extern EFI_COMPONENT_NAME2_PROTOCOL gHttpDxeComponentName2; extern EFI_COMPONENT_NAME_PROTOCOL gHttpDxeComponentName; +extern EFI_HTTP_UTILITIES_PROTOCOL *mHttpUtilities; + // // Include files with function prototypes // @@ -69,7 +72,6 @@ extern EFI_COMPONENT_NAME_PROTOCOL gHttpDxeComponentName; #include "HttpImpl.h" #include "HttpProto.h" #include "HttpDns.h" -#include "HttpUtilities.h" typedef struct { EFI_SERVICE_BINDING_PROTOCOL *ServiceBinding; -- cgit v1.2.3