html-to-markdown 2.27.2 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -8
- data/ext/html-to-markdown-rb/native/Cargo.toml +1 -1
- data/ext/html-to-markdown-rb/native/src/conversion/mod.rs +6 -0
- data/ext/html-to-markdown-rb/native/src/conversion/tables.rs +71 -0
- data/ext/html-to-markdown-rb/native/src/lib.rs +27 -1
- data/lib/html_to_markdown/version.rb +1 -1
- data/lib/html_to_markdown.rb +29 -0
- data/rust-vendor/getrandom/.cargo-checksum.json +1 -1
- data/rust-vendor/getrandom/.cargo_vcs_info.json +1 -1
- data/rust-vendor/getrandom/CHANGELOG.md +62 -43
- data/rust-vendor/getrandom/Cargo.lock +49 -56
- data/rust-vendor/getrandom/Cargo.toml +2 -2
- data/rust-vendor/getrandom/Cargo.toml.orig +2 -2
- data/rust-vendor/getrandom/src/backends/efi_rng.rs +8 -10
- data/rust-vendor/getrandom/src/backends/getentropy.rs +13 -4
- data/rust-vendor/getrandom/src/backends/linux_android_with_fallback.rs +10 -25
- data/rust-vendor/getrandom/src/backends/netbsd.rs +17 -25
- data/rust-vendor/getrandom/src/backends/rdrand.rs +15 -9
- data/rust-vendor/getrandom/src/backends/rndr.rs +2 -1
- data/rust-vendor/getrandom/src/backends/vxworks.rs +7 -3
- data/rust-vendor/getrandom/src/backends/windows.rs +21 -5
- data/rust-vendor/getrandom/src/utils/lazy_bool.rs +39 -0
- data/rust-vendor/getrandom/src/utils/lazy_ptr.rs +57 -0
- data/rust-vendor/html-to-markdown-rs/Cargo.toml +2 -2
- data/rust-vendor/html-to-markdown-rs/README.md +29 -0
- data/rust-vendor/html-to-markdown-rs/src/convert_api.rs +368 -0
- data/rust-vendor/html-to-markdown-rs/src/converter/main.rs +10 -5
- data/rust-vendor/html-to-markdown-rs/src/converter/text_node.rs +2 -1
- data/rust-vendor/html-to-markdown-rs/src/lib.rs +3 -0
- data/rust-vendor/html-to-markdown-rs/src/prelude.rs +3 -0
- data/rust-vendor/html-to-markdown-rs/tests/issue_216_217_regressions.rs +82 -0
- data/rust-vendor/quote/.cargo-checksum.json +1 -1
- data/rust-vendor/quote/.cargo_vcs_info.json +1 -1
- data/rust-vendor/quote/.github/workflows/ci.yml +2 -2
- data/rust-vendor/quote/Cargo.lock +21 -21
- data/rust-vendor/quote/Cargo.toml +2 -2
- data/rust-vendor/quote/Cargo.toml.orig +2 -2
- data/rust-vendor/quote/README.md +0 -1
- data/rust-vendor/quote/src/lib.rs +1 -1
- data/rust-vendor/quote/src/to_tokens.rs +7 -0
- data/rust-vendor/quote/tests/ui/not-quotable.stderr +1 -1
- data/rust-vendor/quote/tests/ui/not-repeatable.stderr +3 -11
- data/rust-vendor/r-efi/.cargo-checksum.json +1 -1
- data/rust-vendor/r-efi/.cargo_vcs_info.json +1 -1
- data/rust-vendor/r-efi/AUTHORS +1 -0
- data/rust-vendor/r-efi/Cargo.lock +1 -1
- data/rust-vendor/r-efi/Cargo.toml +1 -3
- data/rust-vendor/r-efi/Cargo.toml.orig +1 -5
- data/rust-vendor/r-efi/NEWS.md +16 -0
- data/rust-vendor/r-efi/src/base.rs +1 -1
- data/rust-vendor/r-efi/src/lib.rs +27 -12
- data/rust-vendor/r-efi/src/protocols/absolute_pointer.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/block_io.rs +8 -8
- data/rust-vendor/r-efi/src/protocols/bus_specific_driver_override.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/debug_support.rs +10 -10
- data/rust-vendor/r-efi/src/protocols/debugport.rs +8 -8
- data/rust-vendor/r-efi/src/protocols/decompress.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/device_path_from_text.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/device_path_to_text.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/device_path_utilities.rs +16 -16
- data/rust-vendor/r-efi/src/protocols/disk_io.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/disk_io2.rs +8 -8
- data/rust-vendor/r-efi/src/protocols/driver_binding.rs +6 -6
- data/rust-vendor/r-efi/src/protocols/driver_diagnostics2.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/driver_family_override.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/file.rs +28 -28
- data/rust-vendor/r-efi/src/protocols/graphics_output.rs +6 -6
- data/rust-vendor/r-efi/src/protocols/hii_database.rs +24 -24
- data/rust-vendor/r-efi/src/protocols/hii_font.rs +8 -8
- data/rust-vendor/r-efi/src/protocols/hii_font_ex.rs +10 -10
- data/rust-vendor/r-efi/src/protocols/hii_string.rs +10 -10
- data/rust-vendor/r-efi/src/protocols/ip4.rs +16 -16
- data/rust-vendor/r-efi/src/protocols/ip6.rs +18 -18
- data/rust-vendor/r-efi/src/protocols/load_file.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/loaded_image.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/managed_network.rs +16 -16
- data/rust-vendor/r-efi/src/protocols/memory_attribute.rs +6 -6
- data/rust-vendor/r-efi/src/protocols/mp_services.rs +15 -15
- data/rust-vendor/r-efi/src/protocols/pci_io.rs +26 -26
- data/rust-vendor/r-efi/src/protocols/platform_driver_override.rs +6 -6
- data/rust-vendor/r-efi/src/protocols/rng.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/service_binding.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/shell.rs +81 -81
- data/rust-vendor/r-efi/src/protocols/shell_dynamic_command.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/simple_file_system.rs +2 -2
- data/rust-vendor/r-efi/src/protocols/simple_network.rs +26 -26
- data/rust-vendor/r-efi/src/protocols/simple_text_input.rs +4 -4
- data/rust-vendor/r-efi/src/protocols/simple_text_input_ex.rs +11 -11
- data/rust-vendor/r-efi/src/protocols/simple_text_output.rs +18 -18
- data/rust-vendor/r-efi/src/protocols/tcp4.rs +20 -20
- data/rust-vendor/r-efi/src/protocols/tcp6.rs +18 -18
- data/rust-vendor/r-efi/src/protocols/timestamp.rs +3 -3
- data/rust-vendor/r-efi/src/protocols/udp4.rs +16 -16
- data/rust-vendor/r-efi/src/protocols/udp6.rs +14 -14
- data/rust-vendor/r-efi/src/system.rs +115 -115
- data/rust-vendor/r-efi/src/vendor/intel/console_control.rs +6 -6
- data/rust-vendor/r-efi-5.3.0/.cargo-checksum.json +1 -0
- data/rust-vendor/r-efi-5.3.0/.cargo_vcs_info.json +6 -0
- data/rust-vendor/r-efi-5.3.0/.github/workflows/publish.yml +39 -0
- data/rust-vendor/r-efi-5.3.0/.github/workflows/rust-tests.yml +125 -0
- data/rust-vendor/r-efi-5.3.0/AUTHORS +74 -0
- data/rust-vendor/r-efi-5.3.0/Cargo.lock +16 -0
- data/rust-vendor/r-efi-5.3.0/Cargo.toml +70 -0
- data/rust-vendor/r-efi-5.3.0/Cargo.toml.orig +51 -0
- data/rust-vendor/r-efi-5.3.0/Makefile +85 -0
- data/rust-vendor/r-efi-5.3.0/NEWS.md +301 -0
- data/rust-vendor/r-efi-5.3.0/README.md +99 -0
- data/rust-vendor/r-efi-5.3.0/examples/freestanding.rs +34 -0
- data/rust-vendor/r-efi-5.3.0/examples/gop-query.rs +188 -0
- data/rust-vendor/r-efi-5.3.0/examples/hello-world.rs +55 -0
- data/rust-vendor/r-efi-5.3.0/src/base.rs +993 -0
- data/rust-vendor/r-efi-5.3.0/src/hii.rs +1300 -0
- data/rust-vendor/r-efi-5.3.0/src/lib.rs +182 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/absolute_pointer.rs +69 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/block_io.rs +70 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/bus_specific_driver_override.rs +32 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/debug_support.rs +835 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/debugport.rs +42 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/decompress.rs +37 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/device_path.rs +82 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_from_text.rs +26 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_to_text.rs +30 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/device_path_utilities.rs +63 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/disk_io.rs +40 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/disk_io2.rs +58 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/driver_binding.rs +42 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/driver_diagnostics2.rs +38 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/driver_family_override.rs +23 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/file.rs +183 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/graphics_output.rs +103 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/hii_database.rs +299 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/hii_font.rs +87 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/hii_font_ex.rs +107 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/hii_package_list.rs +14 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/hii_string.rs +71 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/ip4.rs +202 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/ip6.rs +264 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/load_file.rs +26 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/load_file2.rs +15 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/loaded_image.rs +39 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/loaded_image_device_path.rs +13 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/managed_network.rs +147 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/memory_attribute.rs +40 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/mp_services.rs +121 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/pci_io.rs +203 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/platform_driver_override.rs +46 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/rng.rs +83 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/service_binding.rs +20 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/shell.rs +295 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/shell_dynamic_command.rs +33 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/shell_parameters.rs +23 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/simple_file_system.rs +26 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/simple_network.rs +196 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_input.rs +38 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_input_ex.rs +85 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/simple_text_output.rs +86 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/tcp4.rs +224 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/tcp6.rs +202 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/timestamp.rs +32 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/udp4.rs +151 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols/udp6.rs +137 -0
- data/rust-vendor/r-efi-5.3.0/src/protocols.rs +54 -0
- data/rust-vendor/r-efi-5.3.0/src/system.rs +1130 -0
- data/rust-vendor/r-efi-5.3.0/src/vendor/intel/console_control.rs +37 -0
- data/rust-vendor/r-efi-5.3.0/src/vendor.rs +10 -0
- data/rust-vendor/tokio/.cargo-checksum.json +1 -1
- data/rust-vendor/tokio/.cargo_vcs_info.json +1 -1
- data/rust-vendor/tokio/CHANGELOG.md +94 -0
- data/rust-vendor/tokio/Cargo.lock +1549 -0
- data/rust-vendor/tokio/Cargo.toml +96 -83
- data/rust-vendor/tokio/Cargo.toml.orig +7 -7
- data/rust-vendor/tokio/README.md +1 -1
- data/rust-vendor/tokio/src/fs/open_options.rs +4 -1
- data/rust-vendor/tokio/src/fs/read.rs +4 -1
- data/rust-vendor/tokio/src/fs/write.rs +4 -1
- data/rust-vendor/tokio/src/io/async_write.rs +3 -4
- data/rust-vendor/tokio/src/io/poll_evented.rs +23 -1
- data/rust-vendor/tokio/src/io/stderr.rs +15 -1
- data/rust-vendor/tokio/src/io/stdout.rs +14 -0
- data/rust-vendor/tokio/src/io/util/async_write_ext.rs +2 -2
- data/rust-vendor/tokio/src/io/util/write_buf.rs +11 -2
- data/rust-vendor/tokio/src/lib.rs +12 -28
- data/rust-vendor/tokio/src/macros/select.rs +6 -8
- data/rust-vendor/tokio/src/net/tcp/socket.rs +25 -1
- data/rust-vendor/tokio/src/net/tcp/stream.rs +40 -1
- data/rust-vendor/tokio/src/process/unix/pidfd_reaper.rs +1 -41
- data/rust-vendor/tokio/src/runtime/blocking/pool.rs +18 -14
- data/rust-vendor/tokio/src/runtime/builder.rs +10 -4
- data/rust-vendor/tokio/src/runtime/handle.rs +3 -2
- data/rust-vendor/tokio/src/runtime/io/driver/uring.rs +49 -61
- data/rust-vendor/tokio/src/runtime/io/driver.rs +6 -5
- data/rust-vendor/tokio/src/runtime/mod.rs +20 -1
- data/rust-vendor/tokio/src/runtime/runtime.rs +71 -1
- data/rust-vendor/tokio/src/runtime/scheduler/current_thread/mod.rs +24 -8
- data/rust-vendor/tokio/src/runtime/scheduler/multi_thread/worker.rs +5 -0
- data/rust-vendor/tokio/src/runtime/task/core.rs +1 -0
- data/rust-vendor/tokio/src/runtime/task/join.rs +7 -3
- data/rust-vendor/tokio/src/runtime/task/list.rs +5 -3
- data/rust-vendor/tokio/src/runtime/task/mod.rs +0 -5
- data/rust-vendor/tokio/src/runtime/tests/loom_blocking.rs +39 -1
- data/rust-vendor/tokio/src/signal/mod.rs +6 -17
- data/rust-vendor/tokio/src/signal/registry.rs +1 -1
- data/rust-vendor/tokio/src/signal/unix.rs +24 -44
- data/rust-vendor/tokio/src/signal/windows/sys.rs +52 -64
- data/rust-vendor/tokio/src/signal/windows.rs +35 -23
- data/rust-vendor/tokio/src/sync/mpsc/mod.rs +3 -1
- data/rust-vendor/tokio/src/sync/oneshot.rs +13 -0
- data/rust-vendor/tokio/src/sync/rwlock.rs +4 -5
- data/rust-vendor/tokio/src/sync/tests/loom_oneshot.rs +27 -1
- data/rust-vendor/tokio/src/task/blocking.rs +16 -1
- data/rust-vendor/tokio/src/task/builder.rs +2 -2
- data/rust-vendor/tokio/src/task/mod.rs +1 -1
- data/rust-vendor/tokio/src/task/spawn.rs +8 -3
- data/rust-vendor/tokio/src/task/yield_now.rs +13 -23
- data/rust-vendor/tokio/src/time/clock.rs +62 -0
- data/rust-vendor/tokio/src/util/memchr.rs +32 -4
- data/rust-vendor/tokio/src/util/sharded_list.rs +6 -4
- data/rust-vendor/tokio/tests/fs_link.rs +54 -0
- data/rust-vendor/tokio/tests/io_async_fd_memory_leak.rs +209 -0
- data/rust-vendor/tokio/tests/io_write_buf.rs +56 -0
- data/rust-vendor/tokio/tests/process_issue_7144.rs +8 -0
- data/rust-vendor/tokio/tests/rt_basic.rs +41 -0
- data/rust-vendor/tokio/tests/rt_common_before_park.rs +92 -0
- data/rust-vendor/tokio/tests/rt_metrics.rs +1 -1
- data/rust-vendor/tokio/tests/rt_panic.rs +12 -0
- data/rust-vendor/tokio/tests/rt_shutdown_err.rs +82 -0
- data/rust-vendor/tokio/tests/rt_threaded.rs +49 -1
- data/rust-vendor/tokio/tests/rt_unstable_metrics.rs +32 -0
- data/rust-vendor/tokio/tests/tcp_connect.rs +2 -3
- data/rust-vendor/tokio/tests/tcp_shutdown.rs +1 -3
- data/rust-vendor/tokio/tests/tcp_socket.rs +3 -4
- data/rust-vendor/tokio/tests/tcp_stream.rs +3 -0
- data/sig/html_to_markdown.rbs +46 -0
- data/spec/convert_with_tables_spec.rb +194 -0
- metadata +80 -3
- data/rust-vendor/getrandom/src/utils/lazy.rs +0 -64
|
@@ -36,205 +36,205 @@ pub struct FileInfo {
|
|
|
36
36
|
pub info: *mut crate::protocols::file::Info,
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
pub type Execute =
|
|
39
|
+
pub type Execute = unsafe extern "efiapi" fn(
|
|
40
40
|
*mut crate::base::Handle,
|
|
41
41
|
*mut crate::base::Char16,
|
|
42
42
|
*mut *mut crate::base::Char16,
|
|
43
43
|
*mut crate::base::Status,
|
|
44
|
-
) -> crate::base::Status
|
|
44
|
+
) -> crate::base::Status;
|
|
45
45
|
|
|
46
|
-
pub type GetEnv =
|
|
46
|
+
pub type GetEnv = unsafe extern "efiapi" fn(
|
|
47
47
|
*mut crate::base::Char16,
|
|
48
|
-
) -> *mut crate::base::Char16
|
|
48
|
+
) -> *mut crate::base::Char16;
|
|
49
49
|
|
|
50
|
-
pub type SetEnv =
|
|
50
|
+
pub type SetEnv = unsafe extern "efiapi" fn(
|
|
51
51
|
*mut crate::base::Char16,
|
|
52
52
|
*mut crate::base::Char16,
|
|
53
53
|
crate::base::Boolean,
|
|
54
|
-
) -> crate::base::Status
|
|
54
|
+
) -> crate::base::Status;
|
|
55
55
|
|
|
56
|
-
pub type GetAlias =
|
|
56
|
+
pub type GetAlias = unsafe extern "efiapi" fn(
|
|
57
57
|
*mut crate::base::Char16,
|
|
58
58
|
*mut crate::base::Boolean,
|
|
59
|
-
) -> *mut crate::base::Char16
|
|
59
|
+
) -> *mut crate::base::Char16;
|
|
60
60
|
|
|
61
|
-
pub type SetAlias =
|
|
61
|
+
pub type SetAlias = unsafe extern "efiapi" fn(
|
|
62
62
|
*mut crate::base::Char16,
|
|
63
63
|
*mut crate::base::Char16,
|
|
64
64
|
crate::base::Boolean,
|
|
65
65
|
crate::base::Boolean,
|
|
66
|
-
) -> crate::base::Status
|
|
66
|
+
) -> crate::base::Status;
|
|
67
67
|
|
|
68
|
-
pub type GetHelpText =
|
|
68
|
+
pub type GetHelpText = unsafe extern "efiapi" fn(
|
|
69
69
|
*mut crate::base::Char16,
|
|
70
70
|
*mut crate::base::Char16,
|
|
71
71
|
*mut *mut crate::base::Char16,
|
|
72
|
-
) -> crate::base::Status
|
|
72
|
+
) -> crate::base::Status;
|
|
73
73
|
|
|
74
|
-
pub type GetDevicePathFromMap =
|
|
74
|
+
pub type GetDevicePathFromMap = unsafe extern "efiapi" fn(
|
|
75
75
|
*mut crate::base::Char16,
|
|
76
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
76
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
77
77
|
|
|
78
|
-
pub type GetMapFromDevicePath =
|
|
78
|
+
pub type GetMapFromDevicePath = unsafe extern "efiapi" fn(
|
|
79
79
|
*mut *mut crate::protocols::device_path::Protocol,
|
|
80
|
-
) -> *mut crate::base::Char16
|
|
80
|
+
) -> *mut crate::base::Char16;
|
|
81
81
|
|
|
82
|
-
pub type GetDevicePathFromFilePath =
|
|
82
|
+
pub type GetDevicePathFromFilePath = unsafe extern "efiapi" fn(
|
|
83
83
|
*mut crate::base::Char16,
|
|
84
|
-
) -> *mut crate::protocols::device_path::Protocol
|
|
84
|
+
) -> *mut crate::protocols::device_path::Protocol;
|
|
85
85
|
|
|
86
|
-
pub type GetFilePathFromDevicePath =
|
|
86
|
+
pub type GetFilePathFromDevicePath = unsafe extern "efiapi" fn(
|
|
87
87
|
*mut crate::protocols::device_path::Protocol,
|
|
88
|
-
) -> *mut crate::base::Char16
|
|
88
|
+
) -> *mut crate::base::Char16;
|
|
89
89
|
|
|
90
|
-
pub type SetMap =
|
|
90
|
+
pub type SetMap = unsafe extern "efiapi" fn(
|
|
91
91
|
*mut crate::protocols::device_path::Protocol,
|
|
92
92
|
*mut crate::base::Char16,
|
|
93
|
-
) -> crate::base::Status
|
|
93
|
+
) -> crate::base::Status;
|
|
94
94
|
|
|
95
|
-
pub type GetCurDir =
|
|
95
|
+
pub type GetCurDir = unsafe extern "efiapi" fn(
|
|
96
96
|
*mut crate::base::Char16,
|
|
97
|
-
) -> *mut crate::base::Char16
|
|
97
|
+
) -> *mut crate::base::Char16;
|
|
98
98
|
|
|
99
|
-
pub type SetCurDir =
|
|
99
|
+
pub type SetCurDir = unsafe extern "efiapi" fn(
|
|
100
100
|
*mut crate::base::Char16,
|
|
101
101
|
*mut crate::base::Char16,
|
|
102
|
-
) -> crate::base::Status
|
|
102
|
+
) -> crate::base::Status;
|
|
103
103
|
|
|
104
|
-
pub type OpenFileList =
|
|
104
|
+
pub type OpenFileList = unsafe extern "efiapi" fn(
|
|
105
105
|
*mut crate::base::Char16,
|
|
106
106
|
u64,
|
|
107
107
|
*mut *mut FileInfo,
|
|
108
|
-
) -> crate::base::Status
|
|
108
|
+
) -> crate::base::Status;
|
|
109
109
|
|
|
110
|
-
pub type FreeFileList =
|
|
110
|
+
pub type FreeFileList = unsafe extern "efiapi" fn(
|
|
111
111
|
*mut *mut FileInfo,
|
|
112
|
-
) -> crate::base::Status
|
|
112
|
+
) -> crate::base::Status;
|
|
113
113
|
|
|
114
|
-
pub type RemoveDupInFileList =
|
|
114
|
+
pub type RemoveDupInFileList = unsafe extern "efiapi" fn(
|
|
115
115
|
*mut *mut FileInfo,
|
|
116
|
-
) -> crate::base::Status
|
|
116
|
+
) -> crate::base::Status;
|
|
117
117
|
|
|
118
|
-
pub type BatchIsActive =
|
|
118
|
+
pub type BatchIsActive = unsafe extern "efiapi" fn() -> crate::base::Boolean;
|
|
119
119
|
|
|
120
|
-
pub type IsRootShell =
|
|
120
|
+
pub type IsRootShell = unsafe extern "efiapi" fn() -> crate::base::Boolean;
|
|
121
121
|
|
|
122
|
-
pub type EnablePageBreak =
|
|
122
|
+
pub type EnablePageBreak = unsafe extern "efiapi" fn();
|
|
123
123
|
|
|
124
|
-
pub type DisablePageBreak =
|
|
124
|
+
pub type DisablePageBreak = unsafe extern "efiapi" fn();
|
|
125
125
|
|
|
126
|
-
pub type GetPageBreak =
|
|
126
|
+
pub type GetPageBreak = unsafe extern "efiapi" fn() -> crate::base::Boolean;
|
|
127
127
|
|
|
128
|
-
pub type GetDeviceName =
|
|
128
|
+
pub type GetDeviceName = unsafe extern "efiapi" fn(
|
|
129
129
|
crate::base::Handle,
|
|
130
130
|
DeviceNameFlags,
|
|
131
131
|
*mut crate::base::Char8,
|
|
132
132
|
*mut *mut crate::base::Char16,
|
|
133
|
-
) -> crate::base::Status
|
|
133
|
+
) -> crate::base::Status;
|
|
134
134
|
|
|
135
|
-
pub type GetFileInfo =
|
|
135
|
+
pub type GetFileInfo = unsafe extern "efiapi" fn(
|
|
136
136
|
FileHandle,
|
|
137
|
-
) -> *mut crate::protocols::file::Info
|
|
137
|
+
) -> *mut crate::protocols::file::Info;
|
|
138
138
|
|
|
139
|
-
pub type SetFileInfo =
|
|
139
|
+
pub type SetFileInfo = unsafe extern "efiapi" fn(
|
|
140
140
|
FileHandle,
|
|
141
141
|
*mut crate::protocols::file::Info
|
|
142
|
-
) -> crate::base::Status
|
|
142
|
+
) -> crate::base::Status;
|
|
143
143
|
|
|
144
|
-
pub type OpenFileByName =
|
|
144
|
+
pub type OpenFileByName = unsafe extern "efiapi" fn(
|
|
145
145
|
*mut crate::base::Char16,
|
|
146
146
|
*mut FileHandle,
|
|
147
147
|
u64,
|
|
148
|
-
) -> crate::base::Status
|
|
148
|
+
) -> crate::base::Status;
|
|
149
149
|
|
|
150
|
-
pub type CloseFile =
|
|
150
|
+
pub type CloseFile = unsafe extern "efiapi" fn(
|
|
151
151
|
FileHandle,
|
|
152
|
-
) -> crate::base::Status
|
|
152
|
+
) -> crate::base::Status;
|
|
153
153
|
|
|
154
|
-
pub type CreateFile =
|
|
154
|
+
pub type CreateFile = unsafe extern "efiapi" fn(
|
|
155
155
|
*mut crate::base::Char16,
|
|
156
156
|
u64,
|
|
157
157
|
*mut FileHandle,
|
|
158
|
-
) -> crate::base::Status
|
|
158
|
+
) -> crate::base::Status;
|
|
159
159
|
|
|
160
|
-
pub type ReadFile =
|
|
160
|
+
pub type ReadFile = unsafe extern "efiapi" fn(
|
|
161
161
|
FileHandle,
|
|
162
162
|
*mut usize,
|
|
163
163
|
*mut core::ffi::c_void,
|
|
164
|
-
) -> crate::base::Status
|
|
164
|
+
) -> crate::base::Status;
|
|
165
165
|
|
|
166
|
-
pub type WriteFile =
|
|
166
|
+
pub type WriteFile = unsafe extern "efiapi" fn(
|
|
167
167
|
FileHandle,
|
|
168
168
|
*mut usize,
|
|
169
169
|
*mut core::ffi::c_void,
|
|
170
|
-
) -> crate::base::Status
|
|
170
|
+
) -> crate::base::Status;
|
|
171
171
|
|
|
172
|
-
pub type DeleteFile =
|
|
172
|
+
pub type DeleteFile = unsafe extern "efiapi" fn(
|
|
173
173
|
FileHandle,
|
|
174
|
-
) -> crate::base::Status
|
|
174
|
+
) -> crate::base::Status;
|
|
175
175
|
|
|
176
|
-
pub type DeleteFileByName =
|
|
176
|
+
pub type DeleteFileByName = unsafe extern "efiapi" fn(
|
|
177
177
|
*mut crate::base::Char16,
|
|
178
|
-
) -> crate::base::Status
|
|
178
|
+
) -> crate::base::Status;
|
|
179
179
|
|
|
180
|
-
pub type GetFilePosition =
|
|
180
|
+
pub type GetFilePosition = unsafe extern "efiapi" fn(
|
|
181
181
|
FileHandle,
|
|
182
182
|
*mut u64,
|
|
183
|
-
) -> crate::base::Status
|
|
183
|
+
) -> crate::base::Status;
|
|
184
184
|
|
|
185
|
-
pub type SetFilePosition =
|
|
185
|
+
pub type SetFilePosition = unsafe extern "efiapi" fn(
|
|
186
186
|
FileHandle,
|
|
187
187
|
u64,
|
|
188
|
-
) -> crate::base::Status
|
|
188
|
+
) -> crate::base::Status;
|
|
189
189
|
|
|
190
|
-
pub type FlushFile =
|
|
190
|
+
pub type FlushFile = unsafe extern "efiapi" fn(
|
|
191
191
|
FileHandle,
|
|
192
|
-
) -> crate::base::Status
|
|
192
|
+
) -> crate::base::Status;
|
|
193
193
|
|
|
194
|
-
pub type FindFiles =
|
|
194
|
+
pub type FindFiles = unsafe extern "efiapi" fn(
|
|
195
195
|
*mut crate::base::Char16,
|
|
196
196
|
*mut *mut FileInfo,
|
|
197
|
-
) -> crate::base::Status
|
|
197
|
+
) -> crate::base::Status;
|
|
198
198
|
|
|
199
|
-
pub type FindFilesInDir =
|
|
199
|
+
pub type FindFilesInDir = unsafe extern "efiapi" fn(
|
|
200
200
|
FileHandle,
|
|
201
201
|
*mut *mut FileInfo,
|
|
202
|
-
) -> crate::base::Status
|
|
202
|
+
) -> crate::base::Status;
|
|
203
203
|
|
|
204
|
-
pub type GetFileSize =
|
|
204
|
+
pub type GetFileSize = unsafe extern "efiapi" fn(
|
|
205
205
|
FileHandle,
|
|
206
206
|
*mut u64,
|
|
207
|
-
) -> crate::base::Status
|
|
207
|
+
) -> crate::base::Status;
|
|
208
208
|
|
|
209
|
-
pub type OpenRoot =
|
|
209
|
+
pub type OpenRoot = unsafe extern "efiapi" fn(
|
|
210
210
|
*mut crate::protocols::device_path::Protocol,
|
|
211
211
|
*mut FileHandle,
|
|
212
|
-
) -> crate::base::Status
|
|
212
|
+
) -> crate::base::Status;
|
|
213
213
|
|
|
214
|
-
pub type OpenRootByHandle =
|
|
214
|
+
pub type OpenRootByHandle = unsafe extern "efiapi" fn(
|
|
215
215
|
crate::base::Handle,
|
|
216
216
|
*mut FileHandle,
|
|
217
|
-
) -> crate::base::Status
|
|
217
|
+
) -> crate::base::Status;
|
|
218
218
|
|
|
219
|
-
pub type RegisterGuidName =
|
|
219
|
+
pub type RegisterGuidName = unsafe extern "efiapi" fn(
|
|
220
220
|
*mut crate::base::Guid,
|
|
221
221
|
*mut crate::base::Char16,
|
|
222
|
-
) -> crate::base::Status
|
|
222
|
+
) -> crate::base::Status;
|
|
223
223
|
|
|
224
|
-
pub type GetGuidName =
|
|
224
|
+
pub type GetGuidName = unsafe extern "efiapi" fn(
|
|
225
225
|
*mut crate::base::Guid,
|
|
226
226
|
*mut *mut crate::base::Char16,
|
|
227
|
-
) -> crate::base::Status
|
|
227
|
+
) -> crate::base::Status;
|
|
228
228
|
|
|
229
|
-
pub type GetGuidFromName =
|
|
229
|
+
pub type GetGuidFromName = unsafe extern "efiapi" fn(
|
|
230
230
|
*mut crate::base::Char16,
|
|
231
231
|
*mut crate::base::Guid,
|
|
232
|
-
) -> crate::base::Status
|
|
232
|
+
) -> crate::base::Status;
|
|
233
233
|
|
|
234
|
-
pub type GetEnvEx =
|
|
234
|
+
pub type GetEnvEx = unsafe extern "efiapi" fn(
|
|
235
235
|
*mut crate::base::Char16,
|
|
236
236
|
*mut u32,
|
|
237
|
-
) -> *mut crate::base::Char16
|
|
237
|
+
) -> *mut crate::base::Char16;
|
|
238
238
|
|
|
239
239
|
#[repr(C)]
|
|
240
240
|
pub struct Protocol {
|
|
@@ -13,17 +13,17 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
13
13
|
&[0xa3, 0xdf, 0xac, 0x8a, 0x27, 0xc3],
|
|
14
14
|
);
|
|
15
15
|
|
|
16
|
-
pub type CommandHandler =
|
|
16
|
+
pub type CommandHandler = unsafe extern "efiapi" fn(
|
|
17
17
|
*mut Protocol,
|
|
18
18
|
*mut crate::system::SystemTable,
|
|
19
19
|
*mut shell_parameters::Protocol,
|
|
20
20
|
*mut shell::Protocol,
|
|
21
|
-
) -> crate::base::Status
|
|
21
|
+
) -> crate::base::Status;
|
|
22
22
|
|
|
23
|
-
pub type CommandGetHelp =
|
|
23
|
+
pub type CommandGetHelp = unsafe extern "efiapi" fn(
|
|
24
24
|
*mut Protocol,
|
|
25
25
|
*mut crate::base::Char8,
|
|
26
|
-
) -> crate::base::Status
|
|
26
|
+
) -> crate::base::Status;
|
|
27
27
|
|
|
28
28
|
#[repr(C)]
|
|
29
29
|
pub struct Protocol {
|
|
@@ -14,10 +14,10 @@ pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
|
|
14
14
|
|
|
15
15
|
pub const REVISION: u64 = 0x0000000000010000u64;
|
|
16
16
|
|
|
17
|
-
pub type ProtocolOpenVolume =
|
|
17
|
+
pub type ProtocolOpenVolume = unsafe extern "efiapi" fn(
|
|
18
18
|
*mut Protocol,
|
|
19
19
|
*mut *mut crate::protocols::file::Protocol,
|
|
20
|
-
) -> crate::base::Status
|
|
20
|
+
) -> crate::base::Status;
|
|
21
21
|
|
|
22
22
|
#[repr(C)]
|
|
23
23
|
pub struct Protocol {
|
|
@@ -89,73 +89,73 @@ pub struct Statistics {
|
|
|
89
89
|
pub tx_retry_frames: u64,
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
pub type ProtocolStart =
|
|
92
|
+
pub type ProtocolStart = unsafe extern "efiapi" fn(
|
|
93
93
|
*mut Protocol,
|
|
94
|
-
) -> crate::base::Status
|
|
94
|
+
) -> crate::base::Status;
|
|
95
95
|
|
|
96
|
-
pub type ProtocolStop =
|
|
96
|
+
pub type ProtocolStop = unsafe extern "efiapi" fn(
|
|
97
97
|
*mut Protocol,
|
|
98
|
-
) -> crate::base::Status
|
|
98
|
+
) -> crate::base::Status;
|
|
99
99
|
|
|
100
|
-
pub type ProtocolInitialize =
|
|
100
|
+
pub type ProtocolInitialize = unsafe extern "efiapi" fn(
|
|
101
101
|
*mut Protocol,
|
|
102
102
|
usize,
|
|
103
103
|
usize,
|
|
104
|
-
) -> crate::base::Status
|
|
104
|
+
) -> crate::base::Status;
|
|
105
105
|
|
|
106
|
-
pub type ProtocolReset =
|
|
106
|
+
pub type ProtocolReset = unsafe extern "efiapi" fn(
|
|
107
107
|
*mut Protocol,
|
|
108
108
|
crate::base::Boolean,
|
|
109
|
-
) -> crate::base::Status
|
|
109
|
+
) -> crate::base::Status;
|
|
110
110
|
|
|
111
|
-
pub type ProtocolShutdown =
|
|
111
|
+
pub type ProtocolShutdown = unsafe extern "efiapi" fn(
|
|
112
112
|
*mut Protocol,
|
|
113
|
-
) -> crate::base::Status
|
|
113
|
+
) -> crate::base::Status;
|
|
114
114
|
|
|
115
|
-
pub type ProtocolReceiveFilters =
|
|
115
|
+
pub type ProtocolReceiveFilters = unsafe extern "efiapi" fn(
|
|
116
116
|
*mut Protocol,
|
|
117
117
|
u32,
|
|
118
118
|
u32,
|
|
119
119
|
crate::base::Boolean,
|
|
120
120
|
usize,
|
|
121
121
|
*mut crate::base::MacAddress,
|
|
122
|
-
) -> crate::base::Status
|
|
122
|
+
) -> crate::base::Status;
|
|
123
123
|
|
|
124
|
-
pub type ProtocolStationAddress =
|
|
124
|
+
pub type ProtocolStationAddress = unsafe extern "efiapi" fn(
|
|
125
125
|
*mut Protocol,
|
|
126
126
|
crate::base::Boolean,
|
|
127
127
|
*mut crate::base::MacAddress,
|
|
128
|
-
) -> crate::base::Status
|
|
128
|
+
) -> crate::base::Status;
|
|
129
129
|
|
|
130
|
-
pub type ProtocolStatistics =
|
|
130
|
+
pub type ProtocolStatistics = unsafe extern "efiapi" fn(
|
|
131
131
|
*mut Protocol,
|
|
132
132
|
crate::base::Boolean,
|
|
133
133
|
*mut usize,
|
|
134
134
|
*mut Statistics,
|
|
135
|
-
) -> crate::base::Status
|
|
135
|
+
) -> crate::base::Status;
|
|
136
136
|
|
|
137
|
-
pub type ProtocolMcastIpToMac =
|
|
137
|
+
pub type ProtocolMcastIpToMac = unsafe extern "efiapi" fn(
|
|
138
138
|
*mut Protocol,
|
|
139
139
|
crate::base::Boolean,
|
|
140
140
|
*mut crate::base::IpAddress,
|
|
141
141
|
*mut crate::base::MacAddress,
|
|
142
|
-
) -> crate::base::Status
|
|
142
|
+
) -> crate::base::Status;
|
|
143
143
|
|
|
144
|
-
pub type ProtocolNvData =
|
|
144
|
+
pub type ProtocolNvData = unsafe extern "efiapi" fn(
|
|
145
145
|
*mut Protocol,
|
|
146
146
|
crate::base::Boolean,
|
|
147
147
|
usize,
|
|
148
148
|
usize,
|
|
149
149
|
*mut core::ffi::c_void,
|
|
150
|
-
) -> crate::base::Status
|
|
150
|
+
) -> crate::base::Status;
|
|
151
151
|
|
|
152
|
-
pub type ProtocolGetStatus =
|
|
152
|
+
pub type ProtocolGetStatus = unsafe extern "efiapi" fn(
|
|
153
153
|
*mut Protocol,
|
|
154
154
|
*mut u32,
|
|
155
155
|
*mut *mut core::ffi::c_void,
|
|
156
|
-
) -> crate::base::Status
|
|
156
|
+
) -> crate::base::Status;
|
|
157
157
|
|
|
158
|
-
pub type ProtocolTransmit =
|
|
158
|
+
pub type ProtocolTransmit = unsafe extern "efiapi" fn(
|
|
159
159
|
*mut Protocol,
|
|
160
160
|
usize,
|
|
161
161
|
usize,
|
|
@@ -163,9 +163,9 @@ pub type ProtocolTransmit = eficall! {fn(
|
|
|
163
163
|
*mut crate::base::MacAddress,
|
|
164
164
|
*mut crate::base::MacAddress,
|
|
165
165
|
*mut u16,
|
|
166
|
-
) -> crate::base::Status
|
|
166
|
+
) -> crate::base::Status;
|
|
167
167
|
|
|
168
|
-
pub type ProtocolReceive =
|
|
168
|
+
pub type ProtocolReceive = unsafe extern "efiapi" fn(
|
|
169
169
|
*mut Protocol,
|
|
170
170
|
*mut usize,
|
|
171
171
|
*mut usize,
|
|
@@ -173,7 +173,7 @@ pub type ProtocolReceive = eficall! {fn(
|
|
|
173
173
|
*mut crate::base::MacAddress,
|
|
174
174
|
*mut crate::base::MacAddress,
|
|
175
175
|
*mut u16,
|
|
176
|
-
) -> crate::base::Status
|
|
176
|
+
) -> crate::base::Status;
|
|
177
177
|
|
|
178
178
|
#[repr(C)]
|
|
179
179
|
pub struct Protocol {
|
|
@@ -20,15 +20,15 @@ pub struct InputKey {
|
|
|
20
20
|
pub unicode_char: crate::base::Char16,
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
pub type ProtocolReset =
|
|
23
|
+
pub type ProtocolReset = unsafe extern "efiapi" fn(
|
|
24
24
|
*mut Protocol,
|
|
25
25
|
crate::base::Boolean,
|
|
26
|
-
) -> crate::base::Status
|
|
26
|
+
) -> crate::base::Status;
|
|
27
27
|
|
|
28
|
-
pub type ProtocolReadKeyStroke =
|
|
28
|
+
pub type ProtocolReadKeyStroke = unsafe extern "efiapi" fn(
|
|
29
29
|
*mut Protocol,
|
|
30
30
|
*mut InputKey,
|
|
31
|
-
) -> crate::base::Status
|
|
31
|
+
) -> crate::base::Status;
|
|
32
32
|
|
|
33
33
|
#[repr(C)]
|
|
34
34
|
pub struct Protocol {
|
|
@@ -31,7 +31,7 @@ pub const NUM_LOCK_ACTIVE: u8 = 0x02u8;
|
|
|
31
31
|
pub const CAPS_LOCK_ACTIVE: u8 = 0x04u8;
|
|
32
32
|
|
|
33
33
|
pub type KeyToggleState = u8;
|
|
34
|
-
pub type KeyNotifyFunction =
|
|
34
|
+
pub type KeyNotifyFunction = unsafe extern "efiapi" fn(*mut KeyData) -> crate::base::Status;
|
|
35
35
|
|
|
36
36
|
#[repr(C)]
|
|
37
37
|
#[derive(Clone, Copy, Debug, Default)]
|
|
@@ -47,32 +47,32 @@ pub struct KeyData {
|
|
|
47
47
|
pub key_state: KeyState,
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
pub type ProtocolReset =
|
|
50
|
+
pub type ProtocolReset = unsafe extern "efiapi" fn(
|
|
51
51
|
*mut Protocol,
|
|
52
52
|
crate::base::Boolean,
|
|
53
|
-
) -> crate::base::Status
|
|
53
|
+
) -> crate::base::Status;
|
|
54
54
|
|
|
55
|
-
pub type ProtocolReadKeyStrokeEx =
|
|
55
|
+
pub type ProtocolReadKeyStrokeEx = unsafe extern "efiapi" fn(
|
|
56
56
|
*mut Protocol,
|
|
57
57
|
*mut KeyData,
|
|
58
|
-
) -> crate::base::Status
|
|
58
|
+
) -> crate::base::Status;
|
|
59
59
|
|
|
60
|
-
pub type ProtocolSetState =
|
|
60
|
+
pub type ProtocolSetState = unsafe extern "efiapi" fn(
|
|
61
61
|
*mut Protocol,
|
|
62
62
|
*mut KeyToggleState,
|
|
63
|
-
) -> crate::base::Status
|
|
63
|
+
) -> crate::base::Status;
|
|
64
64
|
|
|
65
|
-
pub type ProtocolRegisterKeyNotify =
|
|
65
|
+
pub type ProtocolRegisterKeyNotify = unsafe extern "efiapi" fn(
|
|
66
66
|
*mut Protocol,
|
|
67
67
|
*mut KeyData,
|
|
68
68
|
KeyNotifyFunction,
|
|
69
69
|
*mut *mut core::ffi::c_void,
|
|
70
|
-
) -> crate::base::Status
|
|
70
|
+
) -> crate::base::Status;
|
|
71
71
|
|
|
72
|
-
pub type ProtocolUnregisterKeyNotify =
|
|
72
|
+
pub type ProtocolUnregisterKeyNotify = unsafe extern "efiapi" fn(
|
|
73
73
|
*mut Protocol,
|
|
74
74
|
*mut core::ffi::c_void,
|
|
75
|
-
) -> crate::base::Status
|
|
75
|
+
) -> crate::base::Status;
|
|
76
76
|
|
|
77
77
|
#[repr(C)]
|
|
78
78
|
pub struct Protocol {
|
|
@@ -24,52 +24,52 @@ pub struct Mode {
|
|
|
24
24
|
pub cursor_visible: crate::base::Boolean,
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
pub type ProtocolReset =
|
|
27
|
+
pub type ProtocolReset = unsafe extern "efiapi" fn(
|
|
28
28
|
*mut Protocol,
|
|
29
29
|
crate::base::Boolean,
|
|
30
|
-
) -> crate::base::Status
|
|
30
|
+
) -> crate::base::Status;
|
|
31
31
|
|
|
32
|
-
pub type ProtocolOutputString =
|
|
32
|
+
pub type ProtocolOutputString = unsafe extern "efiapi" fn(
|
|
33
33
|
*mut Protocol,
|
|
34
34
|
*mut crate::base::Char16,
|
|
35
|
-
) -> crate::base::Status
|
|
35
|
+
) -> crate::base::Status;
|
|
36
36
|
|
|
37
|
-
pub type ProtocolTestString =
|
|
37
|
+
pub type ProtocolTestString = unsafe extern "efiapi" fn(
|
|
38
38
|
*mut Protocol,
|
|
39
39
|
*mut crate::base::Char16,
|
|
40
|
-
) -> crate::base::Status
|
|
40
|
+
) -> crate::base::Status;
|
|
41
41
|
|
|
42
|
-
pub type ProtocolQueryMode =
|
|
42
|
+
pub type ProtocolQueryMode = unsafe extern "efiapi" fn(
|
|
43
43
|
*mut Protocol,
|
|
44
44
|
usize,
|
|
45
45
|
*mut usize,
|
|
46
46
|
*mut usize,
|
|
47
|
-
) -> crate::base::Status
|
|
47
|
+
) -> crate::base::Status;
|
|
48
48
|
|
|
49
|
-
pub type ProtocolSetMode =
|
|
49
|
+
pub type ProtocolSetMode = unsafe extern "efiapi" fn(
|
|
50
50
|
*mut Protocol,
|
|
51
51
|
usize,
|
|
52
|
-
) -> crate::base::Status
|
|
52
|
+
) -> crate::base::Status;
|
|
53
53
|
|
|
54
|
-
pub type ProtocolSetAttribute =
|
|
54
|
+
pub type ProtocolSetAttribute = unsafe extern "efiapi" fn(
|
|
55
55
|
*mut Protocol,
|
|
56
56
|
usize,
|
|
57
|
-
) -> crate::base::Status
|
|
57
|
+
) -> crate::base::Status;
|
|
58
58
|
|
|
59
|
-
pub type ProtocolClearScreen =
|
|
59
|
+
pub type ProtocolClearScreen = unsafe extern "efiapi" fn(
|
|
60
60
|
*mut Protocol,
|
|
61
|
-
) -> crate::base::Status
|
|
61
|
+
) -> crate::base::Status;
|
|
62
62
|
|
|
63
|
-
pub type ProtocolSetCursorPosition =
|
|
63
|
+
pub type ProtocolSetCursorPosition = unsafe extern "efiapi" fn(
|
|
64
64
|
*mut Protocol,
|
|
65
65
|
usize,
|
|
66
66
|
usize,
|
|
67
|
-
) -> crate::base::Status
|
|
67
|
+
) -> crate::base::Status;
|
|
68
68
|
|
|
69
|
-
pub type ProtocolEnableCursor =
|
|
69
|
+
pub type ProtocolEnableCursor = unsafe extern "efiapi" fn(
|
|
70
70
|
*mut Protocol,
|
|
71
71
|
crate::base::Boolean,
|
|
72
|
-
) -> crate::base::Status
|
|
72
|
+
) -> crate::base::Status;
|
|
73
73
|
|
|
74
74
|
#[repr(C)]
|
|
75
75
|
pub struct Protocol {
|
|
@@ -153,61 +153,61 @@ pub struct CloseToken {
|
|
|
153
153
|
pub abort_on_close: crate::base::Boolean,
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
pub type ProtocolGetModeData =
|
|
156
|
+
pub type ProtocolGetModeData = unsafe extern "efiapi" fn(
|
|
157
157
|
*mut Protocol,
|
|
158
158
|
*mut ConnectionState,
|
|
159
159
|
*mut ConfigData,
|
|
160
160
|
*mut crate::protocols::ip4::ModeData,
|
|
161
161
|
*mut crate::protocols::managed_network::ConfigData,
|
|
162
162
|
*mut crate::protocols::simple_network::Mode,
|
|
163
|
-
) -> crate::base::Status
|
|
163
|
+
) -> crate::base::Status;
|
|
164
164
|
|
|
165
|
-
pub type ProtocolConfigure =
|
|
165
|
+
pub type ProtocolConfigure = unsafe extern "efiapi" fn(
|
|
166
166
|
*mut Protocol,
|
|
167
167
|
*mut ConfigData,
|
|
168
|
-
) -> crate::base::Status
|
|
168
|
+
) -> crate::base::Status;
|
|
169
169
|
|
|
170
|
-
pub type ProtocolRoutes =
|
|
170
|
+
pub type ProtocolRoutes = unsafe extern "efiapi" fn(
|
|
171
171
|
*mut Protocol,
|
|
172
172
|
crate::base::Boolean,
|
|
173
173
|
*mut crate::base::Ipv4Address,
|
|
174
174
|
*mut crate::base::Ipv4Address,
|
|
175
175
|
*mut crate::base::Ipv4Address,
|
|
176
|
-
) -> crate::base::Status
|
|
176
|
+
) -> crate::base::Status;
|
|
177
177
|
|
|
178
|
-
pub type ProtocolConnect =
|
|
178
|
+
pub type ProtocolConnect = unsafe extern "efiapi" fn(
|
|
179
179
|
*mut Protocol,
|
|
180
180
|
*mut ConnectionToken,
|
|
181
|
-
) -> crate::base::Status
|
|
181
|
+
) -> crate::base::Status;
|
|
182
182
|
|
|
183
|
-
pub type ProtocolAccept =
|
|
183
|
+
pub type ProtocolAccept = unsafe extern "efiapi" fn(
|
|
184
184
|
*mut Protocol,
|
|
185
185
|
*mut ListenToken,
|
|
186
|
-
) -> crate::base::Status
|
|
186
|
+
) -> crate::base::Status;
|
|
187
187
|
|
|
188
|
-
pub type ProtocolTransmit =
|
|
188
|
+
pub type ProtocolTransmit = unsafe extern "efiapi" fn(
|
|
189
189
|
*mut Protocol,
|
|
190
190
|
*mut IoToken,
|
|
191
|
-
) -> crate::base::Status
|
|
191
|
+
) -> crate::base::Status;
|
|
192
192
|
|
|
193
|
-
pub type ProtocolReceive =
|
|
193
|
+
pub type ProtocolReceive = unsafe extern "efiapi" fn(
|
|
194
194
|
*mut Protocol,
|
|
195
195
|
*mut IoToken,
|
|
196
|
-
) -> crate::base::Status
|
|
196
|
+
) -> crate::base::Status;
|
|
197
197
|
|
|
198
|
-
pub type ProtocolClose =
|
|
198
|
+
pub type ProtocolClose = unsafe extern "efiapi" fn(
|
|
199
199
|
*mut Protocol,
|
|
200
200
|
*mut CloseToken,
|
|
201
|
-
) -> crate::base::Status
|
|
201
|
+
) -> crate::base::Status;
|
|
202
202
|
|
|
203
|
-
pub type ProtocolCancel =
|
|
203
|
+
pub type ProtocolCancel = unsafe extern "efiapi" fn(
|
|
204
204
|
*mut Protocol,
|
|
205
205
|
*mut CompletionToken,
|
|
206
|
-
) -> crate::base::Status
|
|
206
|
+
) -> crate::base::Status;
|
|
207
207
|
|
|
208
|
-
pub type ProtocolPoll =
|
|
208
|
+
pub type ProtocolPoll = unsafe extern "efiapi" fn(
|
|
209
209
|
*mut Protocol,
|
|
210
|
-
) -> crate::base::Status
|
|
210
|
+
) -> crate::base::Status;
|
|
211
211
|
|
|
212
212
|
#[repr(C)]
|
|
213
213
|
pub struct Protocol {
|