X-Git-Url: https://git.saurik.com/apple/configd.git/blobdiff_plain/edebe297f772e4cdd76278ebb777820466d2917b..f715d9467d5e87b8d8c63f8bb206034f6823ebcd:/Plugins/IPMonitor/dns-configuration.h?ds=sidebyside diff --git a/Plugins/IPMonitor/dns-configuration.h b/Plugins/IPMonitor/dns-configuration.h index 7c45f53..e047cb1 100644 --- a/Plugins/IPMonitor/dns-configuration.h +++ b/Plugins/IPMonitor/dns-configuration.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2006, 2008, 2009, 2011, 2012, 2015 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -24,16 +24,28 @@ #ifndef _DNS_CONFIGURATION_H #define _DNS_CONFIGURATION_H +#include #include #include + +#define DNS_CONFIGURATION_SCOPED_QUERY_KEY CFSTR("__SCOPED_QUERY__") + + __BEGIN_DECLS void dns_configuration_init (CFBundleRef bundle); -void dns_configuration_set (CFDictionaryRef defaultResolver, + +#if !TARGET_OS_IPHONE +void dns_configuration_monitor (SCDynamicStoreRef store, + SCDynamicStoreCallBack callout); +#endif // !TARGET_OS_IPHONE + +Boolean dns_configuration_set (CFDictionaryRef defaultResolver, CFDictionaryRef services, CFArrayRef serviceOrder, + CFArrayRef multicastResolvers, CFArrayRef privateResolvers); __END_DECLS