]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.h
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Universal / Network / UefiPxeBcDxe / PxeBcMtftp.h
index 8c2ce37e1ef89b090ac955f6324926e772828412..534daa9e1b0b4c8383cf1f99bc9cf79a8737849e 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Mtftp routines for PxeBc.\r
     \r
-Copyright (c) 2007, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<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
 http://opensource.org/licenses/bsd-license.php\r
@@ -15,13 +15,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef __EFI_PXEBC_MTFTP_H__\r
 #define __EFI_PXEBC_MTFTP_H__\r
 \r
-typedef enum {\r
-  PXE_MTFTP_OPTION_BLKSIZE_INDEX,\r
-  PXE_MTFTP_OPTION_TIMEOUT_INDEX,\r
-  PXE_MTFTP_OPTION_TSIZE_INDEX,\r
-  PXE_MTFTP_OPTION_MULTICAST_INDEX,\r
-  PXE_MTFTP_OPTION_MAXIMUM_INDEX\r
-} PXE_MTFTP_OPTION_ENUM_TYPES;\r
+#define PXE_MTFTP_OPTION_BLKSIZE_INDEX   0\r
+#define PXE_MTFTP_OPTION_TIMEOUT_INDEX   1\r
+#define PXE_MTFTP_OPTION_TSIZE_INDEX     2\r
+#define PXE_MTFTP_OPTION_MULTICAST_INDEX 3\r
+#define PXE_MTFTP_OPTION_MAXIMUM_INDEX   4\r
 \r
 \r
 /**\r
@@ -46,8 +44,7 @@ PxeBcTftpGetFileSize (
   IN UINT8                      *Filename,\r
   IN UINTN                      *BlockSize,\r
   IN OUT UINT64                 *BufferSize\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -64,6 +61,7 @@ PxeBcTftpGetFileSize (
   @retval EFI_SUCCESS        Read the data success from the special file.\r
   @retval EFI_DEVICE_ERROR   The network device encountered an error during this operation.\r
   @retval other              Read data from file failed.\r
+  \r
 **/\r
 EFI_STATUS\r
 PxeBcTftpReadFile (\r
@@ -74,8 +72,7 @@ PxeBcTftpReadFile (
   IN UINT8                      *BufferPtr,\r
   IN OUT UINT64                 *BufferSize,\r
   IN BOOLEAN                    DontUseBuffer\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -92,7 +89,7 @@ PxeBcTftpReadFile (
   @retval EFI_SUCCESS        Write the data success into the special file.\r
   @retval EFI_DEVICE_ERROR   The network device encountered an error during this operation.\r
   @retval other              Write data into file failed.\r
-\r
+  \r
 **/\r
 EFI_STATUS\r
 PxeBcTftpWriteFile (\r
@@ -103,8 +100,7 @@ PxeBcTftpWriteFile (
   IN UINTN                      *BlockSize,\r
   IN UINT8                      *BufferPtr,\r
   IN OUT UINT64                 *BufferSize\r
-  )\r
-;\r
+  );\r
 \r
 \r
 /**\r
@@ -132,8 +128,7 @@ PxeBcTftpReadDirectory (
   IN UINT8                         *BufferPtr,\r
   IN OUT UINT64                    *BufferSize,\r
   IN BOOLEAN                       DontUseBuffer\r
-  )\r
-;\r
+  );\r
 \r
 #endif\r
 \r