772db4bb |
1 | /** @file |
2 | |
3 | Copyright (c) 2006 - 2007, Intel Corporation |
4 | All rights reserved. This program and the accompanying materials |
5 | are licensed and made available under the terms and conditions of the BSD License |
6 | which accompanies this distribution. The full text of the license may be found at |
7 | http://opensource.org/licenses/bsd-license.php |
8 | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. |
11 | |
12 | Module Name: |
13 | |
14 | Mtftp4Driver.h |
15 | |
16 | Abstract: |
17 | |
18 | |
19 | **/ |
20 | |
21 | #ifndef __EFI_MTFTP4_DRIVER_H__ |
22 | #define __EFI_MTFTP4_DRIVER_H__ |
23 | |
24 | #include <PiDxe.h> |
25 | |
26 | #include <Protocol/ServiceBinding.h> |
27 | |
28 | #include <Library/NetLib.h> |
29 | #include <Library/UefiLib.h> |
30 | |
31 | |
32 | EFI_STATUS |
33 | Mtftp4DriverBindingSupported ( |
34 | IN EFI_DRIVER_BINDING_PROTOCOL *This, |
35 | IN EFI_HANDLE Controller, |
36 | IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath |
37 | ); |
38 | |
39 | EFI_STATUS |
40 | Mtftp4DriverBindingStart ( |
41 | IN EFI_DRIVER_BINDING_PROTOCOL *This, |
42 | IN EFI_HANDLE Controller, |
43 | IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath |
44 | ); |
45 | |
46 | EFI_STATUS |
47 | Mtftp4DriverBindingStop ( |
48 | IN EFI_DRIVER_BINDING_PROTOCOL *This, |
49 | IN EFI_HANDLE Controller, |
50 | IN UINTN NumberOfChildren, |
51 | IN EFI_HANDLE *ChildHandleBuffer |
52 | ); |
53 | |
54 | EFI_STATUS |
55 | Mtftp4ServiceBindingCreateChild ( |
56 | IN EFI_SERVICE_BINDING_PROTOCOL *This, |
57 | IN OUT EFI_HANDLE *ChildHandle |
58 | ); |
59 | |
60 | EFI_STATUS |
61 | Mtftp4ServiceBindingDestroyChild ( |
62 | IN EFI_SERVICE_BINDING_PROTOCOL *This, |
63 | IN EFI_HANDLE ChildHandle |
64 | ); |
65 | |
66 | extern EFI_COMPONENT_NAME_PROTOCOL gMtftp4ComponentName; |
67 | extern EFI_DRIVER_BINDING_PROTOCOL gMtftp4DriverBinding; |
68 | |
69 | #endif |