]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Devices/AllJoyn/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Devices / AllJoyn / mod.rs
CommitLineData
5e7ed085
FG
1pub type AllJoynAboutData = *mut ::core::ffi::c_void;
2pub type AllJoynAboutDataView = *mut ::core::ffi::c_void;
3pub type AllJoynAcceptSessionJoinerEventArgs = *mut ::core::ffi::c_void;
4pub type AllJoynAuthenticationCompleteEventArgs = *mut ::core::ffi::c_void;
04454e1e 5#[doc = "*Required features: `\"Devices_AllJoyn\"`, `\"deprecated\"`*"]
5e7ed085
FG
6#[cfg(feature = "deprecated")]
7#[repr(transparent)]
8pub struct AllJoynAuthenticationMechanism(pub i32);
9#[cfg(feature = "deprecated")]
10impl AllJoynAuthenticationMechanism {
11 pub const None: Self = Self(0i32);
12 pub const SrpAnonymous: Self = Self(1i32);
13 pub const SrpLogon: Self = Self(2i32);
14 pub const EcdheNull: Self = Self(3i32);
15 pub const EcdhePsk: Self = Self(4i32);
16 pub const EcdheEcdsa: Self = Self(5i32);
17 pub const EcdheSpeke: Self = Self(6i32);
18}
19#[cfg(feature = "deprecated")]
20impl ::core::marker::Copy for AllJoynAuthenticationMechanism {}
21#[cfg(feature = "deprecated")]
22impl ::core::clone::Clone for AllJoynAuthenticationMechanism {
23 fn clone(&self) -> Self {
24 *self
25 }
26}
27pub type AllJoynBusAttachment = *mut ::core::ffi::c_void;
04454e1e 28#[doc = "*Required features: `\"Devices_AllJoyn\"`, `\"deprecated\"`*"]
5e7ed085
FG
29#[cfg(feature = "deprecated")]
30#[repr(transparent)]
31pub struct AllJoynBusAttachmentState(pub i32);
32#[cfg(feature = "deprecated")]
33impl AllJoynBusAttachmentState {
34 pub const Disconnected: Self = Self(0i32);
35 pub const Connecting: Self = Self(1i32);
36 pub const Connected: Self = Self(2i32);
37 pub const Disconnecting: Self = Self(3i32);
38}
39#[cfg(feature = "deprecated")]
40impl ::core::marker::Copy for AllJoynBusAttachmentState {}
41#[cfg(feature = "deprecated")]
42impl ::core::clone::Clone for AllJoynBusAttachmentState {
43 fn clone(&self) -> Self {
44 *self
45 }
46}
47pub type AllJoynBusAttachmentStateChangedEventArgs = *mut ::core::ffi::c_void;
48pub type AllJoynBusObject = *mut ::core::ffi::c_void;
49pub type AllJoynBusObjectStoppedEventArgs = *mut ::core::ffi::c_void;
50pub type AllJoynCredentials = *mut ::core::ffi::c_void;
51pub type AllJoynCredentialsRequestedEventArgs = *mut ::core::ffi::c_void;
52pub type AllJoynCredentialsVerificationRequestedEventArgs = *mut ::core::ffi::c_void;
53pub type AllJoynMessageInfo = *mut ::core::ffi::c_void;
54pub type AllJoynProducerStoppedEventArgs = *mut ::core::ffi::c_void;
55pub type AllJoynServiceInfo = *mut ::core::ffi::c_void;
56pub type AllJoynServiceInfoRemovedEventArgs = *mut ::core::ffi::c_void;
57pub type AllJoynSession = *mut ::core::ffi::c_void;
58pub type AllJoynSessionJoinedEventArgs = *mut ::core::ffi::c_void;
59pub type AllJoynSessionLostEventArgs = *mut ::core::ffi::c_void;
04454e1e 60#[doc = "*Required features: `\"Devices_AllJoyn\"`, `\"deprecated\"`*"]
5e7ed085
FG
61#[cfg(feature = "deprecated")]
62#[repr(transparent)]
63pub struct AllJoynSessionLostReason(pub i32);
64#[cfg(feature = "deprecated")]
65impl AllJoynSessionLostReason {
66 pub const None: Self = Self(0i32);
67 pub const ProducerLeftSession: Self = Self(1i32);
68 pub const ProducerClosedAbruptly: Self = Self(2i32);
69 pub const RemovedByProducer: Self = Self(3i32);
70 pub const LinkTimeout: Self = Self(4i32);
71 pub const Other: Self = Self(5i32);
72}
73#[cfg(feature = "deprecated")]
74impl ::core::marker::Copy for AllJoynSessionLostReason {}
75#[cfg(feature = "deprecated")]
76impl ::core::clone::Clone for AllJoynSessionLostReason {
77 fn clone(&self) -> Self {
78 *self
79 }
80}
81pub type AllJoynSessionMemberAddedEventArgs = *mut ::core::ffi::c_void;
82pub type AllJoynSessionMemberRemovedEventArgs = *mut ::core::ffi::c_void;
04454e1e 83#[doc = "*Required features: `\"Devices_AllJoyn\"`, `\"deprecated\"`*"]
5e7ed085
FG
84#[cfg(feature = "deprecated")]
85#[repr(transparent)]
86pub struct AllJoynTrafficType(pub i32);
87#[cfg(feature = "deprecated")]
88impl AllJoynTrafficType {
89 pub const Unknown: Self = Self(0i32);
90 pub const Messages: Self = Self(1i32);
91 pub const RawUnreliable: Self = Self(2i32);
92 pub const RawReliable: Self = Self(4i32);
93}
94#[cfg(feature = "deprecated")]
95impl ::core::marker::Copy for AllJoynTrafficType {}
96#[cfg(feature = "deprecated")]
97impl ::core::clone::Clone for AllJoynTrafficType {
98 fn clone(&self) -> Self {
99 *self
100 }
101}
102pub type AllJoynWatcherStoppedEventArgs = *mut ::core::ffi::c_void;
103pub type IAllJoynAcceptSessionJoiner = *mut ::core::ffi::c_void;
104pub type IAllJoynProducer = *mut ::core::ffi::c_void;