summaryrefslogtreecommitdiff
path: root/src/OFHostAddressResolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/OFHostAddressResolver.h')
-rw-r--r--src/OFHostAddressResolver.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/OFHostAddressResolver.h b/src/OFHostAddressResolver.h
index db4167b7..6bf0965b 100644
--- a/src/OFHostAddressResolver.h
+++ b/src/OFHostAddressResolver.h
@@ -29,14 +29,14 @@ OF_ASSUME_NONNULL_BEGIN
@class OFMutableData;
@class OFString;
-@interface OFHostAddressResolver: OFObject <OFDNSResolverDelegate>
+@interface OFHostAddressResolver: OFObject <OFDNSResolverQueryDelegate>
{
OFString *_host;
of_socket_address_family_t _addressFamily;
OFDNSResolver *_resolver;
OFDNSResolverSettings *_settings;
of_run_loop_mode_t _Nullable _runLoopMode;
- id <OFDNSResolverDelegate> _Nullable _delegate;
+ id <OFDNSResolverHostDelegate> _Nullable _delegate;
unsigned int _numExpectedResponses;
OFMutableData *_addresses;
}
@@ -46,7 +46,7 @@ OF_ASSUME_NONNULL_BEGIN
resolver: (OFDNSResolver *)resolver
settings: (OFDNSResolverSettings *)settings
runLoopMode: (nullable of_run_loop_mode_t)runLoopMode
- delegate: (nullable id <OFDNSResolverDelegate>)delegate;
+ delegate: (nullable id <OFDNSResolverHostDelegate>)delegate;
- (void)asyncResolve;
- (OFData *)resolve;
@end