This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/zeroidc/vendor/security-framework-sys/src/transform.rs

24 lines
624 B
Rust
Raw Normal View History

use core_foundation_sys::base::{Boolean, CFTypeID, CFTypeRef};
use core_foundation_sys::error::CFErrorRef;
use core_foundation_sys::string::CFStringRef;
pub type SecTransformRef = CFTypeRef;
extern "C" {
pub static kSecTransformInputAttributeName: CFStringRef;
pub fn SecTransformGetTypeID() -> CFTypeID;
pub fn SecTransformSetAttribute(
transformRef: SecTransformRef,
key: CFStringRef,
value: CFTypeRef,
error: *mut CFErrorRef,
) -> Boolean;
pub fn SecTransformExecute(
transformRef: SecTransformRef,
errorRef: *mut CFErrorRef,
) -> CFTypeRef;
}