blob: 922ff1e73dbed560f57871c9c15e606319c35cc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
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
}
}
|