TianoCore EDK2 master
Loading...
Searching...
No Matches
HttpUtilitiesDxe.h
Go to the documentation of this file.
1
11#ifndef __EFI_HTTP_UTILITIES_DXE_H__
12#define __EFI_HTTP_UTILITIES_DXE_H__
13
14#include <Uefi.h>
15
16//
17// Libraries
18//
22#include <Library/BaseLib.h>
23#include <Library/UefiLib.h>
24#include <Library/DebugLib.h>
25#include <Library/HttpLib.h>
26
27//
28// Consumed Protocols
29//
31#include <Protocol/Http.h>
32
33//
34// Protocol instances
35//
36extern EFI_HTTP_UTILITIES_PROTOCOL mHttpUtilitiesProtocol;
37
71EFIAPI
74 IN UINTN SeedMessageSize,
75 IN VOID *SeedMessage OPTIONAL,
76 IN UINTN DeleteCount,
77 IN CHAR8 *DeleteList[] OPTIONAL,
78 IN UINTN AppendCount,
79 IN EFI_HTTP_HEADER *AppendList[] OPTIONAL,
80 OUT UINTN *NewMessageSize,
81 OUT VOID **NewMessage
82 );
83
106EFIAPI
109 IN CHAR8 *HttpMessage,
110 IN UINTN HttpMessageSize,
111 OUT EFI_HTTP_HEADER **HeaderFields,
112 OUT UINTN *FieldCount
113 );
114
115#endif
UINT64 UINTN
EFI_STATUS EFIAPI HttpUtilitiesParse(IN EFI_HTTP_UTILITIES_PROTOCOL *This, IN CHAR8 *HttpMessage, IN UINTN HttpMessageSize, OUT EFI_HTTP_HEADER **HeaderFields, OUT UINTN *FieldCount)
EFI_STATUS EFIAPI HttpUtilitiesBuild(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)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29