From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../RemoteDifferentialCompression/mod.rs | 200 +++++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100644 vendor/windows-sys-0.28.0/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs (limited to 'vendor/windows-sys-0.28.0/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs') diff --git a/vendor/windows-sys-0.28.0/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs new file mode 100644 index 000000000..437628b5c --- /dev/null +++ b/vendor/windows-sys-0.28.0/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs @@ -0,0 +1,200 @@ +#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] +#[link(name = "windows")] +extern "system" {} +#[repr(C)] +pub struct FindSimilarFileIndexResults { + pub m_FileIndex: u32, + pub m_MatchCount: u32, +} +impl ::core::marker::Copy for FindSimilarFileIndexResults {} +impl ::core::clone::Clone for FindSimilarFileIndexResults { + fn clone(&self) -> Self { + *self + } +} +pub const FindSimilarResults: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903443, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub type GeneratorParametersType = i32; +pub const RDCGENTYPE_Unused: GeneratorParametersType = 0i32; +pub const RDCGENTYPE_FilterMax: GeneratorParametersType = 1i32; +pub type IFindSimilarResults = *mut ::core::ffi::c_void; +pub type IRdcComparator = *mut ::core::ffi::c_void; +pub type IRdcFileReader = *mut ::core::ffi::c_void; +pub type IRdcFileWriter = *mut ::core::ffi::c_void; +pub type IRdcGenerator = *mut ::core::ffi::c_void; +pub type IRdcGeneratorFilterMaxParameters = *mut ::core::ffi::c_void; +pub type IRdcGeneratorParameters = *mut ::core::ffi::c_void; +pub type IRdcLibrary = *mut ::core::ffi::c_void; +pub type IRdcSignatureReader = *mut ::core::ffi::c_void; +pub type IRdcSimilarityGenerator = *mut ::core::ffi::c_void; +pub type ISimilarity = *mut ::core::ffi::c_void; +pub type ISimilarityFileIdTable = *mut ::core::ffi::c_void; +pub type ISimilarityReportProgress = *mut ::core::ffi::c_void; +pub type ISimilarityTableDumpState = *mut ::core::ffi::c_void; +pub type ISimilarityTraitsMappedView = *mut ::core::ffi::c_void; +pub type ISimilarityTraitsMapping = *mut ::core::ffi::c_void; +pub type ISimilarityTraitsTable = *mut ::core::ffi::c_void; +pub const MSRDC_DEFAULT_COMPAREBUFFER: u32 = 3200000u32; +pub const MSRDC_DEFAULT_HASHWINDOWSIZE_1: u32 = 48u32; +pub const MSRDC_DEFAULT_HASHWINDOWSIZE_N: u32 = 2u32; +pub const MSRDC_DEFAULT_HORIZONSIZE_1: u32 = 1024u32; +pub const MSRDC_DEFAULT_HORIZONSIZE_N: u32 = 128u32; +pub const MSRDC_MAXIMUM_COMPAREBUFFER: u32 = 1073741824u32; +pub const MSRDC_MAXIMUM_DEPTH: u32 = 8u32; +pub const MSRDC_MAXIMUM_HASHWINDOWSIZE: u32 = 96u32; +pub const MSRDC_MAXIMUM_HORIZONSIZE: u32 = 16384u32; +pub const MSRDC_MAXIMUM_MATCHESREQUIRED: u32 = 16u32; +pub const MSRDC_MAXIMUM_TRAITVALUE: u32 = 63u32; +pub const MSRDC_MINIMUM_COMPAREBUFFER: u32 = 100000u32; +pub const MSRDC_MINIMUM_COMPATIBLE_APP_VERSION: u32 = 65536u32; +pub const MSRDC_MINIMUM_DEPTH: u32 = 1u32; +pub const MSRDC_MINIMUM_HASHWINDOWSIZE: u32 = 2u32; +pub const MSRDC_MINIMUM_HORIZONSIZE: u32 = 128u32; +pub const MSRDC_MINIMUM_INPUTBUFFERSIZE: u32 = 1024u32; +pub const MSRDC_MINIMUM_MATCHESREQUIRED: u32 = 1u32; +pub const MSRDC_SIGNATURE_HASHSIZE: u32 = 16u32; +pub const MSRDC_VERSION: u32 = 65536u32; +pub const RDCE_TABLE_CORRUPT: u32 = 2147745794u32; +pub const RDCE_TABLE_FULL: u32 = 2147745793u32; +pub type RDC_ErrorCode = i32; +pub const RDC_NoError: RDC_ErrorCode = 0i32; +pub const RDC_HeaderVersionNewer: RDC_ErrorCode = 1i32; +pub const RDC_HeaderVersionOlder: RDC_ErrorCode = 2i32; +pub const RDC_HeaderMissingOrCorrupt: RDC_ErrorCode = 3i32; +pub const RDC_HeaderWrongType: RDC_ErrorCode = 4i32; +pub const RDC_DataMissingOrCorrupt: RDC_ErrorCode = 5i32; +pub const RDC_DataTooManyRecords: RDC_ErrorCode = 6i32; +pub const RDC_FileChecksumMismatch: RDC_ErrorCode = 7i32; +pub const RDC_ApplicationError: RDC_ErrorCode = 8i32; +pub const RDC_Aborted: RDC_ErrorCode = 9i32; +pub const RDC_Win32Error: RDC_ErrorCode = 10i32; +#[repr(C)] +pub struct RdcBufferPointer { + pub m_Size: u32, + pub m_Used: u32, + pub m_Data: *mut u8, +} +impl ::core::marker::Copy for RdcBufferPointer {} +impl ::core::clone::Clone for RdcBufferPointer { + fn clone(&self) -> Self { + *self + } +} +pub const RdcComparator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903435, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub type RdcCreatedTables = i32; +pub const RDCTABLE_InvalidOrUnknown: RdcCreatedTables = 0i32; +pub const RDCTABLE_Existing: RdcCreatedTables = 1i32; +pub const RDCTABLE_New: RdcCreatedTables = 2i32; +pub const RdcFileReader: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903433, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub const RdcGenerator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903432, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub const RdcGeneratorFilterMaxParameters: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903431, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub const RdcGeneratorParameters: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903430, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub const RdcLibrary: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903429, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub type RdcMappingAccessMode = i32; +pub const RDCMAPPING_Undefined: RdcMappingAccessMode = 0i32; +pub const RDCMAPPING_ReadOnly: RdcMappingAccessMode = 1i32; +pub const RDCMAPPING_ReadWrite: RdcMappingAccessMode = 2i32; +#[repr(C)] +pub struct RdcNeed { + pub m_BlockType: RdcNeedType, + pub m_FileOffset: u64, + pub m_BlockLength: u64, +} +impl ::core::marker::Copy for RdcNeed {} +impl ::core::clone::Clone for RdcNeed { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RdcNeedPointer { + pub m_Size: u32, + pub m_Used: u32, + pub m_Data: *mut RdcNeed, +} +impl ::core::marker::Copy for RdcNeedPointer {} +impl ::core::clone::Clone for RdcNeedPointer { + fn clone(&self) -> Self { + *self + } +} +pub type RdcNeedType = i32; +pub const RDCNEED_SOURCE: RdcNeedType = 0i32; +pub const RDCNEED_TARGET: RdcNeedType = 1i32; +pub const RDCNEED_SEED: RdcNeedType = 2i32; +pub const RDCNEED_SEED_MAX: RdcNeedType = 255i32; +#[repr(C)] +pub struct RdcSignature { + pub m_Signature: [u8; 16], + pub m_BlockLength: u16, +} +impl ::core::marker::Copy for RdcSignature {} +impl ::core::clone::Clone for RdcSignature { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct RdcSignaturePointer { + pub m_Size: u32, + pub m_Used: u32, + pub m_Data: *mut RdcSignature, +} +impl ::core::marker::Copy for RdcSignaturePointer {} +impl ::core::clone::Clone for RdcSignaturePointer { + fn clone(&self) -> Self { + *self + } +} +pub const RdcSignatureReader: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903434, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub const RdcSimilarityGenerator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903442, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub const Similarity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903441, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +#[repr(C)] +pub struct SimilarityData { + pub m_Data: [u8; 16], +} +impl ::core::marker::Copy for SimilarityData {} +impl ::core::clone::Clone for SimilarityData { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SimilarityDumpData { + pub m_FileIndex: u32, + pub m_Data: SimilarityData, +} +impl ::core::marker::Copy for SimilarityDumpData {} +impl ::core::clone::Clone for SimilarityDumpData { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SimilarityFileId { + pub m_FileId: [u8; 32], +} +impl ::core::marker::Copy for SimilarityFileId {} +impl ::core::clone::Clone for SimilarityFileId { + fn clone(&self) -> Self { + *self + } +} +pub const SimilarityFileIdMaxSize: u32 = 32u32; +pub const SimilarityFileIdMinSize: u32 = 4u32; +pub const SimilarityFileIdTable: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903440, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +#[repr(C)] +pub struct SimilarityMappedViewInfo { + pub m_Data: *mut u8, + pub m_Length: u32, +} +impl ::core::marker::Copy for SimilarityMappedViewInfo {} +impl ::core::clone::Clone for SimilarityMappedViewInfo { + fn clone(&self) -> Self { + *self + } +} +pub const SimilarityReportProgress: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903437, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub const SimilarityTableDumpState: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903438, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub const SimilarityTraitsMappedView: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903445, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub const SimilarityTraitsMapping: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903444, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; +pub const SimilarityTraitsTable: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518903439, data2: 40380, data3: 4570, data4: [158, 63, 0, 17, 17, 74, 227, 17] }; -- cgit v1.2.3