1 use core_foundation_sys::base::{Boolean, CFTypeID, CFTypeRef}; 2 use core_foundation_sys::error::CFErrorRef; 3 use core_foundation_sys::string::CFStringRef; 4 5 pub type SecTransformRef = CFTypeRef; 6 7 extern "C" { 8 pub static kSecTransformInputAttributeName: CFStringRef; 9 SecTransformGetTypeID() -> CFTypeID10 pub fn SecTransformGetTypeID() -> CFTypeID; 11 SecTransformSetAttribute( transformRef: SecTransformRef, key: CFStringRef, value: CFTypeRef, error: *mut CFErrorRef, ) -> Boolean12 pub fn SecTransformSetAttribute( 13 transformRef: SecTransformRef, 14 key: CFStringRef, 15 value: CFTypeRef, 16 error: *mut CFErrorRef, 17 ) -> Boolean; 18 SecTransformExecute( transformRef: SecTransformRef, errorRef: *mut CFErrorRef, ) -> CFTypeRef19 pub fn SecTransformExecute( 20 transformRef: SecTransformRef, 21 errorRef: *mut CFErrorRef, 22 ) -> CFTypeRef; 23 } 24