RPM build fix (reverted CI changes which will need to be un-reverted or made conditional) and vendor Rust dependencies to make builds much faster in any CI system.
This commit is contained in:
23
zeroidc/vendor/security-framework-sys/src/transform.rs
vendored
Normal file
23
zeroidc/vendor/security-framework-sys/src/transform.rs
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user