]> git.saurik.com Git - apple/configd.git/blobdiff - Plugins/IPMonitor/dns-configuration.h
configd-963.200.27.tar.gz
[apple/configd.git] / Plugins / IPMonitor / dns-configuration.h
index 7c45f5353dfe2982b3296b7450e7dd5d0fd1bbe7..e047cb1b4e3b0fb436e1f10e7f3b940556876d32 100644 (file)
@@ -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@
  * 
 #ifndef _DNS_CONFIGURATION_H
 #define _DNS_CONFIGURATION_H
 
+#include <TargetConditionals.h>
 #include <sys/cdefs.h>
 #include <CoreFoundation/CoreFoundation.h>
 
+
+#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