1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
//! Access control functionality.

use core_foundation::base::TCFType;
use security_framework_sys::access::SecAccessGetTypeID;
use security_framework_sys::base::SecAccessRef;

declare_TCFType!{
    /// A type representing access control settings.
    SecAccess, SecAccessRef
}
impl_TCFType!(SecAccess, SecAccessRef, SecAccessGetTypeID);

unsafe impl Sync for SecAccess {}
unsafe impl Send for SecAccess {}