Skip to content

Commit

Permalink
Make exposed types public
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Dec 21, 2015
1 parent 7ccad37 commit 4dc0696
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions security-framework-sys/src/base.rs
Expand Up @@ -3,27 +3,27 @@ use core_foundation_sys::string::CFStringRef;
use libc::c_void;

#[repr(C)]
struct OpaqueSecKeychainRef(c_void);
pub struct OpaqueSecKeychainRef(c_void);
pub type SecKeychainRef = *mut OpaqueSecKeychainRef;

#[repr(C)]
struct OpaqueSecKeychainItemRef(c_void);
pub struct OpaqueSecKeychainItemRef(c_void);
pub type SecKeychainItemRef = *mut OpaqueSecKeychainItemRef;

#[repr(C)]
struct OpaqueSecCertificateRef(c_void);
pub struct OpaqueSecCertificateRef(c_void);
pub type SecCertificateRef = *mut OpaqueSecCertificateRef;

#[repr(C)]
struct OpaqueSecAccessRef(c_void);
pub struct OpaqueSecAccessRef(c_void);
pub type SecAccessRef = *mut OpaqueSecAccessRef;

#[repr(C)]
struct OpaqueSecKeyRef(c_void);
pub struct OpaqueSecKeyRef(c_void);
pub type SecKeyRef = *mut OpaqueSecKeyRef;

#[repr(C)]
struct OpaqueSecIdentityRef(c_void);
pub struct OpaqueSecIdentityRef(c_void);
pub type SecIdentityRef = *mut OpaqueSecIdentityRef;

pub const errSecSuccess: OSStatus = 0;
Expand Down
2 changes: 1 addition & 1 deletion security-framework-sys/src/trust.rs
Expand Up @@ -13,7 +13,7 @@ pub const kSecTrustResultFatalTrustFailure: SecTrustResultType = 6;
pub const kSecTrustResultOtherError: SecTrustResultType = 7;

#[repr(C)]
struct __SecTrust(c_void);
pub struct __SecTrust(c_void);

pub type SecTrustRef = *mut __SecTrust;

Expand Down

0 comments on commit 4dc0696

Please sign in to comment.