summaryrefslogtreecommitdiff
path: root/vendor/security-framework/src/os/macos/access.rs
blob: 1c41d85d9cf5ffb4bda99edb7a7fd44219b5a3fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Access functionality.

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

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

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