summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys-0.28.0/src/Windows/Devices/WiFi/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys-0.28.0/src/Windows/Devices/WiFi/mod.rs
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/WiFi/mod.rs')
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Devices/WiFi/mod.rs127
1 files changed, 127 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/WiFi/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/WiFi/mod.rs
new file mode 100644
index 000000000..922ff1e73
--- /dev/null
+++ b/vendor/windows-sys-0.28.0/src/Windows/Devices/WiFi/mod.rs
@@ -0,0 +1,127 @@
+#![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 WiFiAccessStatus(pub i32);
+impl WiFiAccessStatus {
+ pub const Unspecified: Self = Self(0i32);
+ pub const Allowed: Self = Self(1i32);
+ pub const DeniedByUser: Self = Self(2i32);
+ pub const DeniedBySystem: Self = Self(3i32);
+}
+impl ::core::marker::Copy for WiFiAccessStatus {}
+impl ::core::clone::Clone for WiFiAccessStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WiFiAdapter = *mut ::core::ffi::c_void;
+pub type WiFiAvailableNetwork = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct WiFiConnectionMethod(pub i32);
+impl WiFiConnectionMethod {
+ pub const Default: Self = Self(0i32);
+ pub const WpsPin: Self = Self(1i32);
+ pub const WpsPushButton: Self = Self(2i32);
+}
+impl ::core::marker::Copy for WiFiConnectionMethod {}
+impl ::core::clone::Clone for WiFiConnectionMethod {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WiFiConnectionResult = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct WiFiConnectionStatus(pub i32);
+impl WiFiConnectionStatus {
+ pub const UnspecifiedFailure: Self = Self(0i32);
+ pub const Success: Self = Self(1i32);
+ pub const AccessRevoked: Self = Self(2i32);
+ pub const InvalidCredential: Self = Self(3i32);
+ pub const NetworkNotAvailable: Self = Self(4i32);
+ pub const Timeout: Self = Self(5i32);
+ pub const UnsupportedAuthenticationProtocol: Self = Self(6i32);
+}
+impl ::core::marker::Copy for WiFiConnectionStatus {}
+impl ::core::clone::Clone for WiFiConnectionStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(transparent)]
+pub struct WiFiNetworkKind(pub i32);
+impl WiFiNetworkKind {
+ pub const Any: Self = Self(0i32);
+ pub const Infrastructure: Self = Self(1i32);
+ pub const Adhoc: Self = Self(2i32);
+}
+impl ::core::marker::Copy for WiFiNetworkKind {}
+impl ::core::clone::Clone for WiFiNetworkKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WiFiNetworkReport = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct WiFiPhyKind(pub i32);
+impl WiFiPhyKind {
+ pub const Unknown: Self = Self(0i32);
+ pub const Fhss: Self = Self(1i32);
+ pub const Dsss: Self = Self(2i32);
+ pub const IRBaseband: Self = Self(3i32);
+ pub const Ofdm: Self = Self(4i32);
+ pub const Hrdsss: Self = Self(5i32);
+ pub const Erp: Self = Self(6i32);
+ pub const HT: Self = Self(7i32);
+ pub const Vht: Self = Self(8i32);
+ pub const Dmg: Self = Self(9i32);
+ pub const HE: Self = Self(10i32);
+}
+impl ::core::marker::Copy for WiFiPhyKind {}
+impl ::core::clone::Clone for WiFiPhyKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(transparent)]
+pub struct WiFiReconnectionKind(pub i32);
+impl WiFiReconnectionKind {
+ pub const Automatic: Self = Self(0i32);
+ pub const Manual: Self = Self(1i32);
+}
+impl ::core::marker::Copy for WiFiReconnectionKind {}
+impl ::core::clone::Clone for WiFiReconnectionKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type WiFiWpsConfigurationResult = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct WiFiWpsConfigurationStatus(pub i32);
+impl WiFiWpsConfigurationStatus {
+ pub const UnspecifiedFailure: Self = Self(0i32);
+ pub const Success: Self = Self(1i32);
+ pub const Timeout: Self = Self(2i32);
+}
+impl ::core::marker::Copy for WiFiWpsConfigurationStatus {}
+impl ::core::clone::Clone for WiFiWpsConfigurationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(transparent)]
+pub struct WiFiWpsKind(pub i32);
+impl WiFiWpsKind {
+ pub const Unknown: Self = Self(0i32);
+ pub const Pin: Self = Self(1i32);
+ pub const PushButton: Self = Self(2i32);
+ pub const Nfc: Self = Self(3i32);
+ pub const Ethernet: Self = Self(4i32);
+ pub const Usb: Self = Self(5i32);
+}
+impl ::core::marker::Copy for WiFiWpsKind {}
+impl ::core::clone::Clone for WiFiWpsKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}