#[cfg(feature = "objc2")]
use objc2::__framework_prelude::*;
use crate::*;
#[cfg(feature = "cssmconfig")]
pub type CSSM_MANAGER_EVENT_TYPES = uint32;
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
#[deprecated]
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct cssm_manager_event_notification {
pub DestinationModuleManagerType: CSSM_SERVICE_MASK,
pub SourceModuleManagerType: CSSM_SERVICE_MASK,
pub Event: CSSM_MANAGER_EVENT_TYPES,
pub EventId: uint32,
pub EventData: SecAsn1Item,
}
#[cfg(all(
feature = "SecAsn1Types",
feature = "cssmconfig",
feature = "cssmtype",
feature = "objc2"
))]
unsafe impl Encode for cssm_manager_event_notification {
const ENCODING: Encoding = Encoding::Struct(
"cssm_manager_event_notification",
&[
<CSSM_SERVICE_MASK>::ENCODING,
<CSSM_SERVICE_MASK>::ENCODING,
<CSSM_MANAGER_EVENT_TYPES>::ENCODING,
<uint32>::ENCODING,
<SecAsn1Item>::ENCODING,
],
);
}
#[cfg(all(
feature = "SecAsn1Types",
feature = "cssmconfig",
feature = "cssmtype",
feature = "objc2"
))]
unsafe impl RefEncode for cssm_manager_event_notification {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
#[deprecated]
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
pub type CSSM_MANAGER_EVENT_NOTIFICATION = cssm_manager_event_notification;
#[deprecated]
#[cfg(all(feature = "SecAsn1Types", feature = "cssmconfig", feature = "cssmtype"))]
pub type CSSM_MANAGER_EVENT_NOTIFICATION_PTR = *mut cssm_manager_event_notification;