blob: 0d7a243e5b313de24173f7b3d4ea14330f6fff34 [file] [log] [blame]
pub type BufferProtectUnprotectResult = *mut ::core::ffi::c_void;
pub type DataProtectionInfo = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
#[repr(transparent)]
pub struct DataProtectionStatus(pub i32);
impl DataProtectionStatus {
pub const ProtectedToOtherIdentity: Self = Self(0i32);
pub const Protected: Self = Self(1i32);
pub const Revoked: Self = Self(2i32);
pub const Unprotected: Self = Self(3i32);
pub const LicenseExpired: Self = Self(4i32);
pub const AccessSuspended: Self = Self(5i32);
}
impl ::core::marker::Copy for DataProtectionStatus {}
impl ::core::clone::Clone for DataProtectionStatus {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
#[repr(transparent)]
pub struct EnforcementLevel(pub i32);
impl EnforcementLevel {
pub const NoProtection: Self = Self(0i32);
pub const Silent: Self = Self(1i32);
pub const Override: Self = Self(2i32);
pub const Block: Self = Self(3i32);
}
impl ::core::marker::Copy for EnforcementLevel {}
impl ::core::clone::Clone for EnforcementLevel {
fn clone(&self) -> Self {
*self
}
}
pub type FileProtectionInfo = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
#[repr(transparent)]
pub struct FileProtectionStatus(pub i32);
impl FileProtectionStatus {
pub const Undetermined: Self = Self(0i32);
pub const Unknown: Self = Self(0i32);
pub const Unprotected: Self = Self(1i32);
pub const Revoked: Self = Self(2i32);
pub const Protected: Self = Self(3i32);
pub const ProtectedByOtherUser: Self = Self(4i32);
pub const ProtectedToOtherEnterprise: Self = Self(5i32);
pub const NotProtectable: Self = Self(6i32);
pub const ProtectedToOtherIdentity: Self = Self(7i32);
pub const LicenseExpired: Self = Self(8i32);
pub const AccessSuspended: Self = Self(9i32);
pub const FileInUse: Self = Self(10i32);
}
impl ::core::marker::Copy for FileProtectionStatus {}
impl ::core::clone::Clone for FileProtectionStatus {
fn clone(&self) -> Self {
*self
}
}
pub type FileUnprotectOptions = *mut ::core::ffi::c_void;
pub type ProtectedAccessResumedEventArgs = *mut ::core::ffi::c_void;
pub type ProtectedAccessSuspendingEventArgs = *mut ::core::ffi::c_void;
pub type ProtectedContainerExportResult = *mut ::core::ffi::c_void;
pub type ProtectedContainerImportResult = *mut ::core::ffi::c_void;
pub type ProtectedContentRevokedEventArgs = *mut ::core::ffi::c_void;
pub type ProtectedFileCreateResult = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
#[repr(transparent)]
pub struct ProtectedImportExportStatus(pub i32);
impl ProtectedImportExportStatus {
pub const Ok: Self = Self(0i32);
pub const Undetermined: Self = Self(1i32);
pub const Unprotected: Self = Self(2i32);
pub const Revoked: Self = Self(3i32);
pub const NotRoamable: Self = Self(4i32);
pub const ProtectedToOtherIdentity: Self = Self(5i32);
pub const LicenseExpired: Self = Self(6i32);
pub const AccessSuspended: Self = Self(7i32);
}
impl ::core::marker::Copy for ProtectedImportExportStatus {}
impl ::core::clone::Clone for ProtectedImportExportStatus {
fn clone(&self) -> Self {
*self
}
}
#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
#[repr(transparent)]
pub struct ProtectionPolicyAuditAction(pub i32);
impl ProtectionPolicyAuditAction {
pub const Decrypt: Self = Self(0i32);
pub const CopyToLocation: Self = Self(1i32);
pub const SendToRecipient: Self = Self(2i32);
pub const Other: Self = Self(3i32);
}
impl ::core::marker::Copy for ProtectionPolicyAuditAction {}
impl ::core::clone::Clone for ProtectionPolicyAuditAction {
fn clone(&self) -> Self {
*self
}
}
pub type ProtectionPolicyAuditInfo = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
#[repr(transparent)]
pub struct ProtectionPolicyEvaluationResult(pub i32);
impl ProtectionPolicyEvaluationResult {
pub const Allowed: Self = Self(0i32);
pub const Blocked: Self = Self(1i32);
pub const ConsentRequired: Self = Self(2i32);
}
impl ::core::marker::Copy for ProtectionPolicyEvaluationResult {}
impl ::core::clone::Clone for ProtectionPolicyEvaluationResult {
fn clone(&self) -> Self {
*self
}
}
pub type ProtectionPolicyManager = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Security_EnterpriseData\"`*"]
#[repr(transparent)]
pub struct ProtectionPolicyRequestAccessBehavior(pub i32);
impl ProtectionPolicyRequestAccessBehavior {
pub const Decrypt: Self = Self(0i32);
pub const TreatOverridePolicyAsBlock: Self = Self(1i32);
}
impl ::core::marker::Copy for ProtectionPolicyRequestAccessBehavior {}
impl ::core::clone::Clone for ProtectionPolicyRequestAccessBehavior {
fn clone(&self) -> Self {
*self
}
}
pub type ThreadNetworkContext = *mut ::core::ffi::c_void;