/** @file\r
Routines to process MTFTP4 options.\r
\r
-Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 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<BR>\r
#ifndef __EFI_MTFTP4_OPTION_H__\r
#define __EFI_MTFTP4_OPTION_H__\r
\r
+#define MTFTP4_SUPPORTED_OPTIONS 4\r
+#define MTFTP4_OPCODE_LEN 2\r
+#define MTFTP4_ERRCODE_LEN 2\r
+#define MTFTP4_BLKNO_LEN 2\r
+#define MTFTP4_DATA_HEAD_LEN 4\r
\r
-\r
-typedef enum {\r
- MTFTP4_SUPPORTED_OPTIONS = 4,\r
- MTFTP4_OPCODE_LEN = 2,\r
- MTFTP4_ERRCODE_LEN = 2,\r
- MTFTP4_BLKNO_LEN = 2,\r
- MTFTP4_DATA_HEAD_LEN = 4,\r
-\r
- MTFTP4_BLKSIZE_EXIST = 0x01,\r
- MTFTP4_TIMEOUT_EXIST = 0x02,\r
- MTFTP4_TSIZE_EXIST = 0x04,\r
- MTFTP4_MCAST_EXIST = 0x08\r
-} MTFTP4_OPTION_CONST_VALUE;\r
+#define MTFTP4_BLKSIZE_EXIST 0x01\r
+#define MTFTP4_TIMEOUT_EXIST 0x02\r
+#define MTFTP4_TSIZE_EXIST 0x04\r
+#define MTFTP4_MCAST_EXIST 0x08\r
\r
typedef struct {\r
UINT16 BlkSize;\r