1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[cfg(feature = "Devices_Printers_Extensions")] 3 pub mod Extensions; 4 #[link(name = "windows")] 5 extern "system" {} 6 pub type IppAttributeError = *mut ::core::ffi::c_void; 7 #[repr(transparent)] 8 pub struct IppAttributeErrorReason(pub i32); 9 impl IppAttributeErrorReason { 10 pub const RequestEntityTooLarge: Self = Self(0i32); 11 pub const AttributeNotSupported: Self = Self(1i32); 12 pub const AttributeValuesNotSupported: Self = Self(2i32); 13 pub const AttributeNotSettable: Self = Self(3i32); 14 pub const ConflictingAttributes: Self = Self(4i32); 15 } 16 impl ::core::marker::Copy for IppAttributeErrorReason {} 17 impl ::core::clone::Clone for IppAttributeErrorReason { clone(&self) -> Self18 fn clone(&self) -> Self { 19 *self 20 } 21 } 22 pub type IppAttributeValue = *mut ::core::ffi::c_void; 23 #[repr(transparent)] 24 pub struct IppAttributeValueKind(pub i32); 25 impl IppAttributeValueKind { 26 pub const Unsupported: Self = Self(0i32); 27 pub const Unknown: Self = Self(1i32); 28 pub const NoValue: Self = Self(2i32); 29 pub const Integer: Self = Self(3i32); 30 pub const Boolean: Self = Self(4i32); 31 pub const Enum: Self = Self(5i32); 32 pub const OctetString: Self = Self(6i32); 33 pub const DateTime: Self = Self(7i32); 34 pub const Resolution: Self = Self(8i32); 35 pub const RangeOfInteger: Self = Self(9i32); 36 pub const Collection: Self = Self(10i32); 37 pub const TextWithLanguage: Self = Self(11i32); 38 pub const NameWithLanguage: Self = Self(12i32); 39 pub const TextWithoutLanguage: Self = Self(13i32); 40 pub const NameWithoutLanguage: Self = Self(14i32); 41 pub const Keyword: Self = Self(15i32); 42 pub const Uri: Self = Self(16i32); 43 pub const UriSchema: Self = Self(17i32); 44 pub const Charset: Self = Self(18i32); 45 pub const NaturalLanguage: Self = Self(19i32); 46 pub const MimeMediaType: Self = Self(20i32); 47 } 48 impl ::core::marker::Copy for IppAttributeValueKind {} 49 impl ::core::clone::Clone for IppAttributeValueKind { clone(&self) -> Self50 fn clone(&self) -> Self { 51 *self 52 } 53 } 54 pub type IppIntegerRange = *mut ::core::ffi::c_void; 55 pub type IppPrintDevice = *mut ::core::ffi::c_void; 56 pub type IppResolution = *mut ::core::ffi::c_void; 57 #[repr(transparent)] 58 pub struct IppResolutionUnit(pub i32); 59 impl IppResolutionUnit { 60 pub const DotsPerInch: Self = Self(0i32); 61 pub const DotsPerCentimeter: Self = Self(1i32); 62 } 63 impl ::core::marker::Copy for IppResolutionUnit {} 64 impl ::core::clone::Clone for IppResolutionUnit { clone(&self) -> Self65 fn clone(&self) -> Self { 66 *self 67 } 68 } 69 pub type IppSetAttributesResult = *mut ::core::ffi::c_void; 70 pub type IppTextWithLanguage = *mut ::core::ffi::c_void; 71 pub type Print3DDevice = *mut ::core::ffi::c_void; 72 pub type PrintSchema = *mut ::core::ffi::c_void; 73