]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | pub type BufferProtectUnprotectResult = *mut ::core::ffi::c_void; |
2 | pub type DataProtectionInfo = *mut ::core::ffi::c_void; | |
04454e1e | 3 | #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] |
5e7ed085 FG |
4 | #[repr(transparent)] |
5 | pub struct DataProtectionStatus(pub i32); | |
6 | impl DataProtectionStatus { | |
7 | pub const ProtectedToOtherIdentity: Self = Self(0i32); | |
8 | pub const Protected: Self = Self(1i32); | |
9 | pub const Revoked: Self = Self(2i32); | |
10 | pub const Unprotected: Self = Self(3i32); | |
11 | pub const LicenseExpired: Self = Self(4i32); | |
12 | pub const AccessSuspended: Self = Self(5i32); | |
13 | } | |
14 | impl ::core::marker::Copy for DataProtectionStatus {} | |
15 | impl ::core::clone::Clone for DataProtectionStatus { | |
16 | fn clone(&self) -> Self { | |
17 | *self | |
18 | } | |
19 | } | |
04454e1e | 20 | #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] |
5e7ed085 FG |
21 | #[repr(transparent)] |
22 | pub struct EnforcementLevel(pub i32); | |
23 | impl EnforcementLevel { | |
24 | pub const NoProtection: Self = Self(0i32); | |
25 | pub const Silent: Self = Self(1i32); | |
26 | pub const Override: Self = Self(2i32); | |
27 | pub const Block: Self = Self(3i32); | |
28 | } | |
29 | impl ::core::marker::Copy for EnforcementLevel {} | |
30 | impl ::core::clone::Clone for EnforcementLevel { | |
31 | fn clone(&self) -> Self { | |
32 | *self | |
33 | } | |
34 | } | |
35 | pub type FileProtectionInfo = *mut ::core::ffi::c_void; | |
04454e1e | 36 | #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] |
5e7ed085 FG |
37 | #[repr(transparent)] |
38 | pub struct FileProtectionStatus(pub i32); | |
39 | impl FileProtectionStatus { | |
40 | pub const Undetermined: Self = Self(0i32); | |
41 | pub const Unknown: Self = Self(0i32); | |
42 | pub const Unprotected: Self = Self(1i32); | |
43 | pub const Revoked: Self = Self(2i32); | |
44 | pub const Protected: Self = Self(3i32); | |
45 | pub const ProtectedByOtherUser: Self = Self(4i32); | |
46 | pub const ProtectedToOtherEnterprise: Self = Self(5i32); | |
47 | pub const NotProtectable: Self = Self(6i32); | |
48 | pub const ProtectedToOtherIdentity: Self = Self(7i32); | |
49 | pub const LicenseExpired: Self = Self(8i32); | |
50 | pub const AccessSuspended: Self = Self(9i32); | |
51 | pub const FileInUse: Self = Self(10i32); | |
52 | } | |
53 | impl ::core::marker::Copy for FileProtectionStatus {} | |
54 | impl ::core::clone::Clone for FileProtectionStatus { | |
55 | fn clone(&self) -> Self { | |
56 | *self | |
57 | } | |
58 | } | |
59 | pub type FileUnprotectOptions = *mut ::core::ffi::c_void; | |
60 | pub type ProtectedAccessResumedEventArgs = *mut ::core::ffi::c_void; | |
61 | pub type ProtectedAccessSuspendingEventArgs = *mut ::core::ffi::c_void; | |
62 | pub type ProtectedContainerExportResult = *mut ::core::ffi::c_void; | |
63 | pub type ProtectedContainerImportResult = *mut ::core::ffi::c_void; | |
64 | pub type ProtectedContentRevokedEventArgs = *mut ::core::ffi::c_void; | |
65 | pub type ProtectedFileCreateResult = *mut ::core::ffi::c_void; | |
04454e1e | 66 | #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] |
5e7ed085 FG |
67 | #[repr(transparent)] |
68 | pub struct ProtectedImportExportStatus(pub i32); | |
69 | impl ProtectedImportExportStatus { | |
70 | pub const Ok: Self = Self(0i32); | |
71 | pub const Undetermined: Self = Self(1i32); | |
72 | pub const Unprotected: Self = Self(2i32); | |
73 | pub const Revoked: Self = Self(3i32); | |
74 | pub const NotRoamable: Self = Self(4i32); | |
75 | pub const ProtectedToOtherIdentity: Self = Self(5i32); | |
76 | pub const LicenseExpired: Self = Self(6i32); | |
77 | pub const AccessSuspended: Self = Self(7i32); | |
78 | } | |
79 | impl ::core::marker::Copy for ProtectedImportExportStatus {} | |
80 | impl ::core::clone::Clone for ProtectedImportExportStatus { | |
81 | fn clone(&self) -> Self { | |
82 | *self | |
83 | } | |
84 | } | |
04454e1e | 85 | #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] |
5e7ed085 FG |
86 | #[repr(transparent)] |
87 | pub struct ProtectionPolicyAuditAction(pub i32); | |
88 | impl ProtectionPolicyAuditAction { | |
89 | pub const Decrypt: Self = Self(0i32); | |
90 | pub const CopyToLocation: Self = Self(1i32); | |
91 | pub const SendToRecipient: Self = Self(2i32); | |
92 | pub const Other: Self = Self(3i32); | |
93 | } | |
94 | impl ::core::marker::Copy for ProtectionPolicyAuditAction {} | |
95 | impl ::core::clone::Clone for ProtectionPolicyAuditAction { | |
96 | fn clone(&self) -> Self { | |
97 | *self | |
98 | } | |
99 | } | |
100 | pub type ProtectionPolicyAuditInfo = *mut ::core::ffi::c_void; | |
04454e1e | 101 | #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] |
5e7ed085 FG |
102 | #[repr(transparent)] |
103 | pub struct ProtectionPolicyEvaluationResult(pub i32); | |
104 | impl ProtectionPolicyEvaluationResult { | |
105 | pub const Allowed: Self = Self(0i32); | |
106 | pub const Blocked: Self = Self(1i32); | |
107 | pub const ConsentRequired: Self = Self(2i32); | |
108 | } | |
109 | impl ::core::marker::Copy for ProtectionPolicyEvaluationResult {} | |
110 | impl ::core::clone::Clone for ProtectionPolicyEvaluationResult { | |
111 | fn clone(&self) -> Self { | |
112 | *self | |
113 | } | |
114 | } | |
115 | pub type ProtectionPolicyManager = *mut ::core::ffi::c_void; | |
04454e1e | 116 | #[doc = "*Required features: `\"Security_EnterpriseData\"`*"] |
5e7ed085 FG |
117 | #[repr(transparent)] |
118 | pub struct ProtectionPolicyRequestAccessBehavior(pub i32); | |
119 | impl ProtectionPolicyRequestAccessBehavior { | |
120 | pub const Decrypt: Self = Self(0i32); | |
121 | pub const TreatOverridePolicyAsBlock: Self = Self(1i32); | |
122 | } | |
123 | impl ::core::marker::Copy for ProtectionPolicyRequestAccessBehavior {} | |
124 | impl ::core::clone::Clone for ProtectionPolicyRequestAccessBehavior { | |
125 | fn clone(&self) -> Self { | |
126 | *self | |
127 | } | |
128 | } | |
129 | pub type ThreadNetworkContext = *mut ::core::ffi::c_void; |