gss_duplicate_name(_:_:_:)
Returns a copy of an internal name.
Declaration
func gss_duplicate_name(_ minor_status: UnsafeMutablePointer<OM_uint32>, _ src_name: gss_name_t, _ dest_name: UnsafeMutablePointer<gss_name_t?>) -> OM_uint32Parameters
- minor_status:
A pointer to the secondary status result that provides additional information in case of failure.
- src_name:
The name to duplicate.
- dest_name:
A pointer the function uses to return the copied name. Release the name using a call to the Gss_release_name(_:_:) function when you are done with it.
Return Value
A status code set to GSS_S_COMPLETE on success. See Function Status for a complete enumeration of status outputs.