DNSServiceRegisterRecordReply
Callback for handling the results of a previous call to Dnsserviceregisterrecord(_:_:_:_:_:_:_:_:_:_:_:_:).
Declaration
typealias DNSServiceRegisterRecordReply = (DNSServiceRef?, DNSRecordRef?, DNSServiceFlags, DNSServiceErrorType, UnsafeMutableRawPointer?) -> VoidParameters
- sdRef:
The connected DNSServiceRef initialized by Dnsservicecreateconnection(_:).
- RecordRef:
The DNSRecordRef initialized by Dnsserviceregisterrecord(_:_:_:_:_:_:_:_:_:_:_:_:). If the above DNSServiceRef is passed to Dnsservicerefdeallocate(_:), this DNSRecordRef is invalidated, and may not be used further.
- flags:
Currently unused, reserved for future use.
- errorCode:
Will be Kdnsserviceerr_noerror on success, otherwise will indicate the failure that occurred (including name conflicts.) Other parameters are undefined if errorCode is nonzero.
- context:
The context pointer that was passed to the callout.