ObjFW  Diff

Differences From Artifact [878890e8bc]:

To Artifact [015a85d33b]:


128
129
130
131
132
133
134

135


136
137
138
139
140
141
142
143

/*!
 * @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 (OFArray<OFDNSResourceRecord *> *response, id context,


 *		   id exception)`.
 * @param context A context object to pass along to the target
 */
- (void)asyncResolveHost: (OFString *)host
		  target: (id)target
		selector: (SEL)selector
		 context: (nullable id)context;








>
|
>
>
|







128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146

/*!
 * @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,
 *		   nullable OFArray<OFDNSResourceRecord *> *answerRecords,
 *		   nullable OFArray<OFDNSResourceRecord *> *authorityRecords,
 *		   nullable OFArray<OFDNSResourceRecord *> *additionalRecords,
 *		   nullable id context, nullable id exception)`.
 * @param context A context object to pass along to the target
 */
- (void)asyncResolveHost: (OFString *)host
		  target: (id)target
		selector: (SEL)selector
		 context: (nullable id)context;