TianoCore EDK2 master
Loading...
Searching...
No Matches
HttpUtilities.h
Go to the documentation of this file.
1
13#ifndef __EFI_HTTP_UTILITIES_PROTOCOL_H__
14#define __EFI_HTTP_UTILITIES_PROTOCOL_H__
15
16#include <Protocol/Http.h>
17
18#define EFI_HTTP_UTILITIES_PROTOCOL_GUID \
19 { \
20 0x3e35c163, 0x4074, 0x45dd, {0x43, 0x1e, 0x23, 0x98, 0x9d, 0xd8, 0x6b, 0x32 } \
21 }
22
24
57typedef
59(EFIAPI *EFI_HTTP_UTILS_BUILD)(
61 IN UINTN SeedMessageSize,
62 IN VOID *SeedMessage OPTIONAL,
63 IN UINTN DeleteCount,
64 IN CHAR8 *DeleteList[] OPTIONAL,
65 IN UINTN AppendCount,
66 IN EFI_HTTP_HEADER *AppendList[] OPTIONAL,
67 OUT UINTN *NewMessageSize,
68 OUT VOID **NewMessage
69 );
70
92typedef
94(EFIAPI *EFI_HTTP_UTILS_PARSE)(
96 IN CHAR8 *HttpMessage,
97 IN UINTN HttpMessageSize,
98 OUT EFI_HTTP_HEADER **HeaderFields,
99 OUT UINTN *FieldCount
100 );
101
112};
113
114extern EFI_GUID gEfiHttpUtilitiesProtocolGuid;
115
116#endif
UINT64 UINTN
EFI_STATUS(EFIAPI * EFI_HTTP_UTILS_PARSE)(IN EFI_HTTP_UTILITIES_PROTOCOL *This, IN CHAR8 *HttpMessage, IN UINTN HttpMessageSize, OUT EFI_HTTP_HEADER **HeaderFields, OUT UINTN *FieldCount)
Definition: HttpUtilities.h:94
EFI_STATUS(EFIAPI * EFI_HTTP_UTILS_BUILD)(IN EFI_HTTP_UTILITIES_PROTOCOL *This, IN UINTN SeedMessageSize, IN VOID *SeedMessage OPTIONAL, IN UINTN DeleteCount, IN CHAR8 *DeleteList[] OPTIONAL, IN UINTN AppendCount, IN EFI_HTTP_HEADER *AppendList[] OPTIONAL, OUT UINTN *NewMessageSize, OUT VOID **NewMessage)
Definition: HttpUtilities.h:59
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213