TianoCore EDK2 master
Loading...
Searching...
No Matches
Ftp4.h
Go to the documentation of this file.
1
18#ifndef __EFI_FTP4_PROTOCOL_H__
19#define __EFI_FTP4_PROTOCOL_H__
20
21#define EFI_FTP4_SERVICE_BINDING_PROTOCOL_GUID \
22 { \
23 0xfaaecb1, 0x226e, 0x4782, {0xaa, 0xce, 0x7d, 0xb9, 0xbc, 0xbf, 0x4d, 0xaf } \
24 }
25
26#define EFI_FTP4_PROTOCOL_GUID \
27 { \
28 0xeb338826, 0x681b, 0x4295, {0xb3, 0x56, 0x2b, 0x36, 0x4c, 0x75, 0x7b, 0x9 } \
29 }
30
32
36typedef struct {
67
71typedef struct {
76 UINT8 *Username;
81 UINT8 *Password;
86 BOOLEAN Active;
126 UINT8 RepType;
136
138
155typedef
157(EFIAPI *EFI_FTP4_DATA_CALLBACK)(
158 IN EFI_FTP4_PROTOCOL *This,
160 );
161
178 UINT8 *Pathname;
204 VOID *Context;
226};
227
251typedef
253(EFIAPI *EFI_FTP4_GET_MODE_DATA)(
254 IN EFI_FTP4_PROTOCOL *This,
255 OUT EFI_FTP4_CONFIG_DATA *ModeData
256 );
257
282typedef
284(EFIAPI *EFI_FTP4_CONNECT)(
285 IN EFI_FTP4_PROTOCOL *This,
287 );
288
311typedef
313(EFIAPI *EFI_FTP4_CLOSE)(
314 IN EFI_FTP4_PROTOCOL *This,
316 );
317
348typedef
350(EFIAPI *EFI_FTP4_CONFIGURE)(
351 IN EFI_FTP4_PROTOCOL *This,
352 IN EFI_FTP4_CONFIG_DATA *FtpConfigData OPTIONAL
353 );
354
385typedef
387(EFIAPI *EFI_FTP4_READ_FILE)(
388 IN EFI_FTP4_PROTOCOL *This,
390 );
391
425typedef
427(EFIAPI *EFI_FTP4_WRITE_FILE)(
428 IN EFI_FTP4_PROTOCOL *This,
430 );
431
462typedef
465 IN EFI_FTP4_PROTOCOL *This,
467 );
468
490typedef
492(EFIAPI *EFI_FTP4_POLL)(
494 );
495
502 EFI_FTP4_GET_MODE_DATA GetModeData;
503 EFI_FTP4_CONNECT Connect;
504 EFI_FTP4_CLOSE Close;
505 EFI_FTP4_CONFIGURE Configure;
506 EFI_FTP4_READ_FILE ReadFile;
507 EFI_FTP4_WRITE_FILE WriteFile;
508 EFI_FTP4_READ_DIRECTORY ReadDirectory;
509 EFI_FTP4_POLL Poll;
510};
511
512extern EFI_GUID gEfiFtp4ServiceBindingProtocolGuid;
513extern EFI_GUID gEfiFtp4ProtocolGuid;
514
515#endif
EFI_STATUS(EFIAPI * EFI_FTP4_DATA_CALLBACK)(IN EFI_FTP4_PROTOCOL *This, IN EFI_FTP4_COMMAND_TOKEN *Token)
Definition: Ftp4.h:157
EFI_STATUS(EFIAPI * EFI_FTP4_READ_FILE)(IN EFI_FTP4_PROTOCOL *This, IN EFI_FTP4_COMMAND_TOKEN *Token)
Definition: Ftp4.h:387
EFI_STATUS(EFIAPI * EFI_FTP4_POLL)(IN EFI_FTP4_PROTOCOL *This)
Definition: Ftp4.h:492
EFI_STATUS(EFIAPI * EFI_FTP4_CONFIGURE)(IN EFI_FTP4_PROTOCOL *This, IN EFI_FTP4_CONFIG_DATA *FtpConfigData OPTIONAL)
Definition: Ftp4.h:350
EFI_STATUS(EFIAPI * EFI_FTP4_CONNECT)(IN EFI_FTP4_PROTOCOL *This, IN EFI_FTP4_CONNECTION_TOKEN *Token)
Definition: Ftp4.h:284
EFI_STATUS(EFIAPI * EFI_FTP4_CLOSE)(IN EFI_FTP4_PROTOCOL *This, IN EFI_FTP4_CONNECTION_TOKEN *Token)
Definition: Ftp4.h:313
EFI_STATUS(EFIAPI * EFI_FTP4_GET_MODE_DATA)(IN EFI_FTP4_PROTOCOL *This, OUT EFI_FTP4_CONFIG_DATA *ModeData)
Definition: Ftp4.h:253
EFI_STATUS(EFIAPI * EFI_FTP4_READ_DIRECTORY)(IN EFI_FTP4_PROTOCOL *This, IN EFI_FTP4_COMMAND_TOKEN *Token)
Definition: Ftp4.h:464
EFI_STATUS(EFIAPI * EFI_FTP4_WRITE_FILE)(IN EFI_FTP4_PROTOCOL *This, IN EFI_FTP4_COMMAND_TOKEN *Token)
Definition: Ftp4.h:427
#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
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
UINT64 DataBufferSize
Definition: Ftp4.h:182
EFI_FTP4_DATA_CALLBACK DataCallback
Definition: Ftp4.h:200
EFI_STATUS Status
Definition: Ftp4.h:225
EFI_EVENT Event
Definition: Ftp4.h:174
UINT8 FileStruct
Definition: Ftp4.h:130
UINT16 ServerPort
Definition: Ftp4.h:111
BOOLEAN Active
Definition: Ftp4.h:86
EFI_IPv4_ADDRESS GatewayIp
Definition: Ftp4.h:102
UINT8 * Password
Definition: Ftp4.h:81
EFI_IPv4_ADDRESS StationIp
Definition: Ftp4.h:94
EFI_IPv4_ADDRESS SubnetMask
Definition: Ftp4.h:98
EFI_IPv4_ADDRESS ServerIp
Definition: Ftp4.h:106
UINT8 * Username
Definition: Ftp4.h:76
UINT16 AltDataPort
Definition: Ftp4.h:116
BOOLEAN UseDefaultSetting
Definition: Ftp4.h:90
EFI_STATUS Status
Definition: Ftp4.h:65
Definition: Base.h:213