#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] #[link(name = "windows")] extern "system" {} #[repr(transparent)] pub struct CompressAlgorithm(pub i32); impl CompressAlgorithm { pub const InvalidAlgorithm: Self = Self(0i32); pub const NullAlgorithm: Self = Self(1i32); pub const Mszip: Self = Self(2i32); pub const Xpress: Self = Self(3i32); pub const XpressHuff: Self = Self(4i32); pub const Lzms: Self = Self(5i32); } impl ::core::marker::Copy for CompressAlgorithm {} impl ::core::clone::Clone for CompressAlgorithm { fn clone(&self) -> Self { *self } } pub type Compressor = *mut ::core::ffi::c_void; pub type Decompressor = *mut ::core::ffi::c_void;