summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/Library/DxeHttpLib/DxeHttpLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'NetworkPkg/Library/DxeHttpLib/DxeHttpLib.h')
-rw-r--r--NetworkPkg/Library/DxeHttpLib/DxeHttpLib.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/NetworkPkg/Library/DxeHttpLib/DxeHttpLib.h b/NetworkPkg/Library/DxeHttpLib/DxeHttpLib.h
index d064a98438..6752475ce2 100644
--- a/NetworkPkg/Library/DxeHttpLib/DxeHttpLib.h
+++ b/NetworkPkg/Library/DxeHttpLib/DxeHttpLib.h
@@ -34,29 +34,29 @@ Header file for HttpLib.
//
// Field index of the HTTP URL parse result.
//
-#define HTTP_URI_FIELD_SCHEME 0
-#define HTTP_URI_FIELD_AUTHORITY 1
-#define HTTP_URI_FIELD_PATH 2
-#define HTTP_URI_FIELD_QUERY 3
-#define HTTP_URI_FIELD_FRAGMENT 4
-#define HTTP_URI_FIELD_USERINFO 5
-#define HTTP_URI_FIELD_HOST 6
-#define HTTP_URI_FIELD_PORT 7
-#define HTTP_URI_FIELD_MAX 8
+#define HTTP_URI_FIELD_SCHEME 0
+#define HTTP_URI_FIELD_AUTHORITY 1
+#define HTTP_URI_FIELD_PATH 2
+#define HTTP_URI_FIELD_QUERY 3
+#define HTTP_URI_FIELD_FRAGMENT 4
+#define HTTP_URI_FIELD_USERINFO 5
+#define HTTP_URI_FIELD_HOST 6
+#define HTTP_URI_FIELD_PORT 7
+#define HTTP_URI_FIELD_MAX 8
-#define HTTP_URI_PORT_MAX_NUM 65535
+#define HTTP_URI_PORT_MAX_NUM 65535
//
// Structure to store the parse result of a HTTP URL.
//
typedef struct {
- UINT32 Offset;
- UINT32 Length;
+ UINT32 Offset;
+ UINT32 Length;
} HTTP_URL_FILED_DATA;
typedef struct {
- UINT16 FieldBitMap;
- HTTP_URL_FILED_DATA FieldData[HTTP_URI_FIELD_MAX];
+ UINT16 FieldBitMap;
+ HTTP_URL_FILED_DATA FieldData[HTTP_URI_FIELD_MAX];
} HTTP_URL_PARSER;
typedef enum {
@@ -82,4 +82,3 @@ typedef enum {
} HTTP_URL_PARSE_STATE;
#endif
-