summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/HttpDxe/HttpProto.h
diff options
context:
space:
mode:
authorGhazi Belaam <Ghazi.belaam@hpe.com>2016-03-05 06:07:50 +0800
committerFu Siyuan <siyuan.fu@intel.com>2016-03-10 10:01:42 +0800
commitf58554fc3f3eaf0ca132d0880ec05fbee4b36edf (patch)
tree4fe697144433948976ec4f19760404583ca1cebb /NetworkPkg/HttpDxe/HttpProto.h
parent558b99a6a31ac883539779ffc112c64ada32aaee (diff)
downloadedk2-f58554fc3f3eaf0ca132d0880ec05fbee4b36edf.tar.gz
edk2-f58554fc3f3eaf0ca132d0880ec05fbee4b36edf.tar.bz2
edk2-f58554fc3f3eaf0ca132d0880ec05fbee4b36edf.zip
NetworkPkg: Use the New Functions from HttpLib
After submitting changes for HttpLib, other modules should be able to use those functions 1 remove the private function and their calls 2 update it with the functions from httpLib Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ghazi Belaam <Ghazi.belaam@hpe.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Samer EL-Haj-Mahmoud <elhaj@hpe.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'NetworkPkg/HttpDxe/HttpProto.h')
-rw-r--r--NetworkPkg/HttpDxe/HttpProto.h33
1 files changed, 1 insertions, 32 deletions
diff --git a/NetworkPkg/HttpDxe/HttpProto.h b/NetworkPkg/HttpDxe/HttpProto.h
index 3a574949de..7b4b343b2a 100644
--- a/NetworkPkg/HttpDxe/HttpProto.h
+++ b/NetworkPkg/HttpDxe/HttpProto.h
@@ -2,6 +2,7 @@
The header files of miscellaneous routines for HttpDxe driver.
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
+(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -399,20 +400,6 @@ HttpTransmitTcp (
);
/**
- Translate the status code in HTTP message to EFI_HTTP_STATUS_CODE defined
- in UEFI 2.5 specification.
-
- @param[in] StatusCode The status code value in HTTP message.
-
- @return Value defined in EFI_HTTP_STATUS_CODE .
-
-**/
-EFI_HTTP_STATUS_CODE
-HttpMappingToStatusCode (
- IN UINTN StatusCode
- );
-
-/**
Check whether the user's token or event has already
been enqueue on HTTP Tx or Rx Token list.
@@ -557,24 +544,6 @@ HttpTcpTokenCleanup (
);
/**
- Generate HTTP request string.
-
- @param[in] HttpInstance Pointer to HTTP_PROTOCOL structure.
- @param[in] Message Pointer to storage containing HTTP message data.
- @param[in] Url The URL of a remote host.
-
- @return Pointer to the created HTTP request string.
- @return NULL if any error occured.
-
-**/
-CHAR8 *
-HttpGenRequestString (
- IN HTTP_PROTOCOL *HttpInstance,
- IN EFI_HTTP_MESSAGE *Message,
- IN CHAR8 *Url
- );
-
-/**
The work function of EfiHttpResponse().
@param[in] Wrap Pointer to HTTP token's wrap data.