r_efi/protocols/
decompress.rs1pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
7 0xd8117cfe,
8 0x94a6,
9 0x11d4,
10 0x9a,
11 0x3a,
12 &[0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d],
13);
14
15pub type ProtocolGetInfo = eficall! {fn(
16 *mut Protocol,
17 *mut core::ffi::c_void,
18 u32,
19 *mut u32,
20 *mut u32,
21) -> crate::base::Status};
22
23pub type ProtocolDecompress = eficall! {fn(
24 *mut Protocol,
25 *mut core::ffi::c_void,
26 u32,
27 *mut core::ffi::c_void,
28 u32,
29 *mut core::ffi::c_void,
30 u32,
31) -> crate::base::Status};
32
33#[repr(C)]
34pub struct Protocol {
35 pub get_info: ProtocolGetInfo,
36 pub decompress: ProtocolDecompress,
37}