@@ -160,27 +160,35 @@ * @brief Asynchronously resolves the specified host. * * @param host The host to resolve * @param target The target to call with the result once resolving is done * @param selector The selector to call on the target. The signature must be - * `void (OFDNSResolver *resolver, OFString *domainName, - * nullable OFArray *answerRecords, - * nullable OFArray *authorityRecords, - * nullable OFArray *additionalRecords, - * nullable id context, nullable id exception)`.@n + * the following: + * @parblock + * + * void (OFDNSResolver *resolver, OFString *domainName, + * OFArray<__kindof OFDNSResourceRecord *> + * *_Nullable answerRecords, + * OFArray<__kindof OFDNSResourceRecord *> + * *_Nullable authorityRecords, + * OFArray<__kindof OFDNSResourceRecord *> + * *_Nullable additionalRecords, + * id _Nullable context, id _Nullable exception) + * * `resolver` is the acting resolver.@n * `domainName` is the fully qualified domain name used to * resolve the host.@n * `answerRecords` are the answer records from the name server. * @n * `authorityRecords` are the authority records from the name * server.@n * `additionalRecords` are additional records sent by the name - * server. + * server.@n * `context` is the context object originally passed.@n * `exception` is an exception that happened during resolving, * otherwise nil. + * @endparblock * @param context A context object to pass along to the target */ - (void)asyncResolveHost: (OFString *)host target: (id)target selector: (SEL)selector @@ -192,27 +200,35 @@ * @param host The host to resolve * @param recordClass The desired class of the records to query * @param recordType The desired type of the records to query * @param target The target to call with the result once resolving is done * @param selector The selector to call on the target. The signature must be - * `void (OFDNSResolver *resolver, OFString *domainName, - * nullable OFArray *answerRecords, - * nullable OFArray *authorityRecords, - * nullable OFArray *additionalRecords, - * nullable id context, nullable id exception)`.@n + * the following: + * @parblock + * + * void (OFDNSResolver *resolver, OFString *domainName, + * OFArray<__kindof OFDNSResourceRecord *> + * *_Nullable answerRecords, + * OFArray<__kindof OFDNSResourceRecord *> + * *_Nullable authorityRecords, + * OFArray<__kindof OFDNSResourceRecord *> + * *_Nullable additionalRecords, + * id _Nullable context, id _Nullable exception) + * * `resolver` is the acting resolver.@n * `domainName` is the fully qualified domain name used to * resolve the host.@n * `answerRecords` are the answer records from the name server. * @n * `authorityRecords` are the authority records from the name * server.@n * `additionalRecords` are additional records sent by the name - * server. + * server.@n * `context` is the context object originally passed.@n * `exception` is an exception that happened during resolving, * otherwise nil. + * @endparblock * @param context A context object to pass along to the target */ - (void)asyncResolveHost: (OFString *)host recordClass: (of_dns_resource_record_class_t)recordClass recordType: (of_dns_resource_record_type_t)recordType