diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Networking/Connectivity')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Networking/Connectivity/mod.rs | 264 |
1 files changed, 0 insertions, 264 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Networking/Connectivity/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Networking/Connectivity/mod.rs deleted file mode 100644 index 2c475000a..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Networking/Connectivity/mod.rs +++ /dev/null @@ -1,264 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type AttributedNetworkUsage = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct CellularApnAuthenticationType(pub i32); -impl CellularApnAuthenticationType { - pub const None: Self = Self(0i32); - pub const Pap: Self = Self(1i32); - pub const Chap: Self = Self(2i32); - pub const Mschapv2: Self = Self(3i32); -} -impl ::core::marker::Copy for CellularApnAuthenticationType {} -impl ::core::clone::Clone for CellularApnAuthenticationType { - fn clone(&self) -> Self { - *self - } -} -pub type CellularApnContext = *mut ::core::ffi::c_void; -pub type ConnectionCost = *mut ::core::ffi::c_void; -pub type ConnectionProfile = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ConnectionProfileDeleteStatus(pub i32); -impl ConnectionProfileDeleteStatus { - pub const Success: Self = Self(0i32); - pub const DeniedByUser: Self = Self(1i32); - pub const DeniedBySystem: Self = Self(2i32); - pub const UnknownError: Self = Self(3i32); -} -impl ::core::marker::Copy for ConnectionProfileDeleteStatus {} -impl ::core::clone::Clone for ConnectionProfileDeleteStatus { - fn clone(&self) -> Self { - *self - } -} -pub type ConnectionProfileFilter = *mut ::core::ffi::c_void; -pub type ConnectionSession = *mut ::core::ffi::c_void; -pub type ConnectivityInterval = *mut ::core::ffi::c_void; -pub type DataPlanStatus = *mut ::core::ffi::c_void; -pub type DataPlanUsage = *mut ::core::ffi::c_void; -pub type DataUsage = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DataUsageGranularity(pub i32); -impl DataUsageGranularity { - pub const PerMinute: Self = Self(0i32); - pub const PerHour: Self = Self(1i32); - pub const PerDay: Self = Self(2i32); - pub const Total: Self = Self(3i32); -} -impl ::core::marker::Copy for DataUsageGranularity {} -impl ::core::clone::Clone for DataUsageGranularity { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DomainConnectivityLevel(pub i32); -impl DomainConnectivityLevel { - pub const None: Self = Self(0i32); - pub const Unauthenticated: Self = Self(1i32); - pub const Authenticated: Self = Self(2i32); -} -impl ::core::marker::Copy for DomainConnectivityLevel {} -impl ::core::clone::Clone for DomainConnectivityLevel { - fn clone(&self) -> Self { - *self - } -} -pub type IPInformation = *mut ::core::ffi::c_void; -pub type LanIdentifier = *mut ::core::ffi::c_void; -pub type LanIdentifierData = *mut ::core::ffi::c_void; -pub type NetworkAdapter = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct NetworkAuthenticationType(pub i32); -impl NetworkAuthenticationType { - pub const None: Self = Self(0i32); - pub const Unknown: Self = Self(1i32); - pub const Open80211: Self = Self(2i32); - pub const SharedKey80211: Self = Self(3i32); - pub const Wpa: Self = Self(4i32); - pub const WpaPsk: Self = Self(5i32); - pub const WpaNone: Self = Self(6i32); - pub const Rsna: Self = Self(7i32); - pub const RsnaPsk: Self = Self(8i32); - pub const Ihv: Self = Self(9i32); - pub const Wpa3: Self = Self(10i32); - pub const Wpa3Enterprise192Bits: Self = Self(10i32); - pub const Wpa3Sae: Self = Self(11i32); - pub const Owe: Self = Self(12i32); - pub const Wpa3Enterprise: Self = Self(13i32); -} -impl ::core::marker::Copy for NetworkAuthenticationType {} -impl ::core::clone::Clone for NetworkAuthenticationType { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct NetworkConnectivityLevel(pub i32); -impl NetworkConnectivityLevel { - pub const None: Self = Self(0i32); - pub const LocalAccess: Self = Self(1i32); - pub const ConstrainedInternetAccess: Self = Self(2i32); - pub const InternetAccess: Self = Self(3i32); -} -impl ::core::marker::Copy for NetworkConnectivityLevel {} -impl ::core::clone::Clone for NetworkConnectivityLevel { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct NetworkCostType(pub i32); -impl NetworkCostType { - pub const Unknown: Self = Self(0i32); - pub const Unrestricted: Self = Self(1i32); - pub const Fixed: Self = Self(2i32); - pub const Variable: Self = Self(3i32); -} -impl ::core::marker::Copy for NetworkCostType {} -impl ::core::clone::Clone for NetworkCostType { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct NetworkEncryptionType(pub i32); -impl NetworkEncryptionType { - pub const None: Self = Self(0i32); - pub const Unknown: Self = Self(1i32); - pub const Wep: Self = Self(2i32); - pub const Wep40: Self = Self(3i32); - pub const Wep104: Self = Self(4i32); - pub const Tkip: Self = Self(5i32); - pub const Ccmp: Self = Self(6i32); - pub const WpaUseGroup: Self = Self(7i32); - pub const RsnUseGroup: Self = Self(8i32); - pub const Ihv: Self = Self(9i32); - pub const Gcmp: Self = Self(10i32); - pub const Gcmp256: Self = Self(11i32); -} -impl ::core::marker::Copy for NetworkEncryptionType {} -impl ::core::clone::Clone for NetworkEncryptionType { - fn clone(&self) -> Self { - *self - } -} -pub type NetworkItem = *mut ::core::ffi::c_void; -pub type NetworkSecuritySettings = *mut ::core::ffi::c_void; -pub type NetworkStateChangeEventDetails = *mut ::core::ffi::c_void; -pub type NetworkStatusChangedEventHandler = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct NetworkTypes(pub u32); -impl NetworkTypes { - pub const None: Self = Self(0u32); - pub const Internet: Self = Self(1u32); - pub const PrivateNetwork: Self = Self(2u32); -} -impl ::core::marker::Copy for NetworkTypes {} -impl ::core::clone::Clone for NetworkTypes { - fn clone(&self) -> Self { - *self - } -} -pub type NetworkUsage = *mut ::core::ffi::c_void; -#[repr(C)] -pub struct NetworkUsageStates { - pub Roaming: TriStates, - pub Shared: TriStates, -} -impl ::core::marker::Copy for NetworkUsageStates {} -impl ::core::clone::Clone for NetworkUsageStates { - fn clone(&self) -> Self { - *self - } -} -pub type ProviderNetworkUsage = *mut ::core::ffi::c_void; -pub type ProxyConfiguration = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct RoamingStates(pub u32); -impl RoamingStates { - pub const None: Self = Self(0u32); - pub const NotRoaming: Self = Self(1u32); - pub const Roaming: Self = Self(2u32); -} -impl ::core::marker::Copy for RoamingStates {} -impl ::core::clone::Clone for RoamingStates { - fn clone(&self) -> Self { - *self - } -} -pub type RoutePolicy = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct TriStates(pub i32); -impl TriStates { - pub const DoNotCare: Self = Self(0i32); - pub const No: Self = Self(1i32); - pub const Yes: Self = Self(2i32); -} -impl ::core::marker::Copy for TriStates {} -impl ::core::clone::Clone for TriStates { - fn clone(&self) -> Self { - *self - } -} -pub type WlanConnectionProfileDetails = *mut ::core::ffi::c_void; -pub type WwanConnectionProfileDetails = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct WwanDataClass(pub u32); -impl WwanDataClass { - pub const None: Self = Self(0u32); - pub const Gprs: Self = Self(1u32); - pub const Edge: Self = Self(2u32); - pub const Umts: Self = Self(4u32); - pub const Hsdpa: Self = Self(8u32); - pub const Hsupa: Self = Self(16u32); - pub const LteAdvanced: Self = Self(32u32); - pub const Cdma1xRtt: Self = Self(65536u32); - pub const Cdma1xEvdo: Self = Self(131072u32); - pub const Cdma1xEvdoRevA: Self = Self(262144u32); - pub const Cdma1xEvdv: Self = Self(524288u32); - pub const Cdma3xRtt: Self = Self(1048576u32); - pub const Cdma1xEvdoRevB: Self = Self(2097152u32); - pub const CdmaUmb: Self = Self(4194304u32); - pub const Custom: Self = Self(2147483648u32); -} -impl ::core::marker::Copy for WwanDataClass {} -impl ::core::clone::Clone for WwanDataClass { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct WwanNetworkIPKind(pub i32); -impl WwanNetworkIPKind { - pub const None: Self = Self(0i32); - pub const Ipv4: Self = Self(1i32); - pub const Ipv6: Self = Self(2i32); - pub const Ipv4v6: Self = Self(3i32); - pub const Ipv4v6v4Xlat: Self = Self(4i32); -} -impl ::core::marker::Copy for WwanNetworkIPKind {} -impl ::core::clone::Clone for WwanNetworkIPKind { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct WwanNetworkRegistrationState(pub i32); -impl WwanNetworkRegistrationState { - pub const None: Self = Self(0i32); - pub const Deregistered: Self = Self(1i32); - pub const Searching: Self = Self(2i32); - pub const Home: Self = Self(3i32); - pub const Roaming: Self = Self(4i32); - pub const Partner: Self = Self(5i32); - pub const Denied: Self = Self(6i32); -} -impl ::core::marker::Copy for WwanNetworkRegistrationState {} -impl ::core::clone::Clone for WwanNetworkRegistrationState { - fn clone(&self) -> Self { - *self - } -} |