Documentation Archive Developer
Search

GSS Changes for Swift

GSS

Declaration
From
func gss_aapl_change_password(_ name: gss_name_t, _ mech: gss_const_OID, _ attributes: CFDictionary!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> OM_uint32
To
func gss_aapl_change_password(_ name: gss_name_t, _ mech: gss_const_OID, _ attributes: CFDictionary, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> OM_uint32

Declaration
From
func gss_aapl_initial_cred(_ desired_name: gss_name_t, _ desired_mech: gss_const_OID, _ attributes: CFDictionary!, _ output_cred_handle: UnsafeMutablePointer<gss_cred_id_t>, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> OM_uint32
To
func gss_aapl_initial_cred(_ desired_name: gss_name_t, _ desired_mech: gss_const_OID, _ attributes: CFDictionary?, _ output_cred_handle: UnsafeMutablePointer<gss_cred_id_t>, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> OM_uint32

Declaration
From
func gss_iter_creds(_ min_stat: UnsafeMutablePointer<OM_uint32>, _ flags: OM_uint32, _ mech: gss_const_OID, _ useriter: ((gss_OID, gss_cred_id_t) -> Void)!) -> OM_uint32
To
func gss_iter_creds(_ min_stat: UnsafeMutablePointer<OM_uint32>, _ flags: OM_uint32, _ mech: gss_const_OID, _ useriter: (gss_OID, gss_cred_id_t) -> Void) -> OM_uint32

Declaration
From
func gss_iter_creds_f(_ min_stat: UnsafeMutablePointer<OM_uint32>, _ flags: OM_uint32, _ mech: gss_const_OID, _ userctx: UnsafeMutablePointer<Void>, _ useriter: CFunctionPointer<((UnsafeMutablePointer<Void>, gss_OID, gss_cred_id_t) -> Void)>) -> OM_uint32
To
func gss_iter_creds_f(_ min_stat: UnsafeMutablePointer<OM_uint32>, _ flags: OM_uint32, _ mech: gss_const_OID, _ userctx: UnsafeMutablePointer<Void>, _ useriter: (UnsafeMutablePointer<Void>, gss_OID, gss_cred_id_t) -> Void) -> OM_uint32

Declaration
From
func GSSCreateCredentialFromUUID(_ uuid: CFUUID!) -> gss_cred_id_t
To
func GSSCreateCredentialFromUUID(_ uuid: CFUUID) -> gss_cred_id_t

Declaration
From
func GSSCreateError(_ mech: gss_const_OID, _ major_status: OM_uint32, _ minor_status: OM_uint32) -> Unmanaged<CFError>!
To
func GSSCreateError(_ mech: gss_const_OID, _ major_status: OM_uint32, _ minor_status: OM_uint32) -> Unmanaged<CFError>?

Declaration
From
func GSSCreateName(_ name: AnyObject!, _ name_type: gss_const_OID, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> gss_name_t
To
func GSSCreateName(_ name: AnyObject, _ name_type: gss_const_OID, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> gss_name_t

Declaration
From
func GSSCredentialCopyUUID(_ credential: gss_cred_id_t) -> Unmanaged<CFUUID>!
To
func GSSCredentialCopyUUID(_ credential: gss_cred_id_t) -> Unmanaged<CFUUID>?

Declaration
From
func GSSNameCreateDisplayString(_ name: gss_name_t) -> Unmanaged<CFString>!
To
func GSSNameCreateDisplayString(_ name: gss_name_t) -> Unmanaged<CFString>?