]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Http.h - Add HttpMethodMax to EFI_HTTP_METHOD.
authorSamer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>
Mon, 21 Sep 2015 07:53:00 +0000 (07:53 +0000)
committersfu5 <sfu5@Edk2>
Mon, 21 Sep 2015 07:53:00 +0000 (07:53 +0000)
Add HttpMethodMax enum value to EFI_HTTP_METHOD to make it easier to iterate
through the HTTP methods using a loop.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18520 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/Http.h

index b1f8c51341d5b5e4e7b5905ba36af3366c81d5a5..64b31213a46efd980087281e3ed58a91e1f23346 100644 (file)
@@ -5,6 +5,7 @@
   HTTP Protocol (HTTP)\r
 \r
   Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
   HTTP Protocol (HTTP)\r
 \r
   Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+  (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution. The full text of the license may be found at\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution. The full text of the license may be found at\r
@@ -54,7 +55,8 @@ typedef enum {
   HttpMethodHead,\r
   HttpMethodPut,\r
   HttpMethodDelete,\r
   HttpMethodHead,\r
   HttpMethodPut,\r
   HttpMethodDelete,\r
-  HttpMethodTrace\r
+  HttpMethodTrace,\r
+  HttpMethodMax\r
 } EFI_HTTP_METHOD;\r
 \r
 ///\r
 } EFI_HTTP_METHOD;\r
 \r
 ///\r