NetworkPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the NetworkPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
2f88bd3a12
commit
d1050b9dff
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user