]> git.saurik.com Git - apple/configd.git/blobdiff - SystemConfiguration.fproj/SCDynamicStoreCopySpecific.h
configd-1061.40.2.tar.gz
[apple/configd.git] / SystemConfiguration.fproj / SCDynamicStoreCopySpecific.h
index 126b4718cd571189ca52fc40ec781494e7e7557b..886e7315a0f33262329aac04f125ba1e8356c4b1 100644 (file)
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) 2000-2005, 2008, 2015 Apple Inc. All rights reserved.
+ * Copyright (c) 2000-2005, 2008, 2015, 2018 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
- * 
+ *
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
  * compliance with the License. Please obtain a copy of the License at
  * http://www.opensource.apple.com/apsl/ and read it before using this
  * file.
- * 
+ *
  * The Original Code and all software distributed under the License are
  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  * Please see the License for the specific language governing rights and
  * limitations under the License.
- * 
+ *
  * @APPLE_LICENSE_HEADER_END@
  */
 
 #ifndef _SCDYNAMICSTORECOPYSPECIFIC_H
-#ifdef USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS
-#include <SystemConfiguration/_SCDynamicStoreCopySpecific.h>
-#else  /* USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS */
 #define _SCDYNAMICSTORECOPYSPECIFIC_H
 
-#include <Availability.h>
+#include <os/availability.h>
 #include <sys/cdefs.h>
 #include <sys/types.h>
 #include <CoreFoundation/CoreFoundation.h>
@@ -64,7 +61,7 @@ CFStringRef __nullable
 SCDynamicStoreCopyComputerName         (
                                        SCDynamicStoreRef       __nullable      store,
                                        CFStringEncoding        * __nullable    nameEncoding
-                                       )                       __OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_2_0/*SPI*/);
+                                       )                       API_AVAILABLE(macos(10.1)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreCopyConsoleUser
@@ -93,7 +90,7 @@ SCDynamicStoreCopyConsoleUser         (
                                        SCDynamicStoreRef       __nullable      store,
                                        uid_t                   * __nullable    uid,
                                        gid_t                   * __nullable    gid
-                                       )                       __OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
+                                       )                       API_AVAILABLE(macos(10.1)) API_UNAVAILABLE(ios, tvos, watchos, bridgeos);
 
 /*!
        @function SCDynamicStoreCopyLocalHostName
@@ -108,7 +105,7 @@ SCDynamicStoreCopyConsoleUser               (
 CFStringRef __nullable
 SCDynamicStoreCopyLocalHostName                (
                                        SCDynamicStoreRef       __nullable      store
-                                       )                       __OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_2_0/*SPI*/);
+                                       )                       API_AVAILABLE(macos(10.1)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreCopyLocation
@@ -124,7 +121,7 @@ SCDynamicStoreCopyLocalHostName             (
 CFStringRef __nullable
 SCDynamicStoreCopyLocation             (
                                        SCDynamicStoreRef       __nullable      store
-                                       )                       __OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
+                                       )                       API_AVAILABLE(macos(10.1)) API_UNAVAILABLE(ios, tvos, watchos, bridgeos);
 
 /*!
        @function SCDynamicStoreCopyProxies
@@ -209,12 +206,11 @@ SCDynamicStoreCopyLocation                (
 CFDictionaryRef __nullable
 SCDynamicStoreCopyProxies              (
                                        SCDynamicStoreRef       __nullable      store
-                                       )                       __OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_2_0/*SPI*/);
+                                       )                       API_AVAILABLE(macos(10.1)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 __END_DECLS
 
 CF_ASSUME_NONNULL_END
 CF_IMPLICIT_BRIDGING_DISABLED
 
-#endif /* USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS */
 #endif /* _SCDYNAMICSTORECOPYSPECIFIC_H */