]> git.saurik.com Git - apple/configd.git/blobdiff - SystemConfiguration.fproj/SCDynamicStoreKey.h
configd-1061.40.2.tar.gz
[apple/configd.git] / SystemConfiguration.fproj / SCDynamicStoreKey.h
index f53bfa2e0d678bc78b35086c74e130ccda6d1019..aa28274097475171bfb4d21ff730b8c542c51a88 100644 (file)
@@ -1,15 +1,15 @@
 /*
 /*
- * Copyright (c) 2000-2002, 2004, 2005, 2008, 2015 Apple Inc. All rights reserved.
+ * Copyright (c) 2000-2002, 2004, 2005, 2008, 2015, 2018 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  *
  * @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.
  * 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,
  * 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.
  * 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 _SCDYNAMICSTOREKEY_H
  * @APPLE_LICENSE_HEADER_END@
  */
 
 #ifndef _SCDYNAMICSTOREKEY_H
-#ifdef USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS
-#include <SystemConfiguration/_SCDynamicStoreKey.h>
-#else  /* USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS */
 #define _SCDYNAMICSTOREKEY_H
 
 #define _SCDYNAMICSTOREKEY_H
 
-#include <Availability.h>
+#include <os/availability.h>
 #include <sys/cdefs.h>
 #include <CoreFoundation/CoreFoundation.h>
 
 #include <sys/cdefs.h>
 #include <CoreFoundation/CoreFoundation.h>
 
@@ -67,7 +64,7 @@ SCDynamicStoreKeyCreate                               (
                                                CFAllocatorRef  __nullable      allocator,
                                                CFStringRef                     fmt,
                                                ...
                                                CFAllocatorRef  __nullable      allocator,
                                                CFStringRef                     fmt,
                                                ...
-                                               )               __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 SCDynamicStoreKeyCreateNetworkGlobalEntity
 
 /*!
        @function SCDynamicStoreKeyCreateNetworkGlobalEntity
@@ -92,7 +89,7 @@ SCDynamicStoreKeyCreateNetworkGlobalEntity    (
                                                CFAllocatorRef  __nullable      allocator,
                                                CFStringRef                     domain,
                                                CFStringRef                     entity
                                                CFAllocatorRef  __nullable      allocator,
                                                CFStringRef                     domain,
                                                CFStringRef                     entity
-                                               )               __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 SCDynamicStoreKeyCreateNetworkInterface
 
 /*!
        @function SCDynamicStoreKeyCreateNetworkInterface
@@ -114,7 +111,7 @@ CFStringRef
 SCDynamicStoreKeyCreateNetworkInterface                (
                                                CFAllocatorRef  __nullable      allocator,
                                                CFStringRef                     domain
 SCDynamicStoreKeyCreateNetworkInterface                (
                                                CFAllocatorRef  __nullable      allocator,
                                                CFStringRef                     domain
-                                               )               __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 SCDynamicStoreKeyCreateNetworkInterfaceEntity
 
 /*!
        @function SCDynamicStoreKeyCreateNetworkInterfaceEntity
@@ -142,7 +139,7 @@ SCDynamicStoreKeyCreateNetworkInterfaceEntity       (
                                                CFStringRef                     domain,
                                                CFStringRef                     ifname,
                                                CFStringRef     __nullable      entity
                                                CFStringRef                     domain,
                                                CFStringRef                     ifname,
                                                CFStringRef     __nullable      entity
-                                               )               __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 SCDynamicStoreKeyCreateNetworkServiceEntity
 
 /*!
        @function SCDynamicStoreKeyCreateNetworkServiceEntity
@@ -171,7 +168,7 @@ SCDynamicStoreKeyCreateNetworkServiceEntity (
                                                CFStringRef                     domain,
                                                CFStringRef                     serviceID,
                                                CFStringRef     __nullable      entity
                                                CFStringRef                     domain,
                                                CFStringRef                     serviceID,
                                                CFStringRef     __nullable      entity
-                                               )               __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 SCDynamicStoreKeyCreateComputerName
 
 /*!
        @function SCDynamicStoreKeyCreateComputerName
@@ -189,7 +186,7 @@ SCDynamicStoreKeyCreateNetworkServiceEntity (
 CFStringRef
 SCDynamicStoreKeyCreateComputerName            (
                                                CFAllocatorRef  __nullable      allocator
 CFStringRef
 SCDynamicStoreKeyCreateComputerName            (
                                                CFAllocatorRef  __nullable      allocator
-                                               )               __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 SCDynamicStoreKeyCreateConsoleUser
 
 /*!
        @function SCDynamicStoreKeyCreateConsoleUser
@@ -206,7 +203,7 @@ SCDynamicStoreKeyCreateComputerName         (
 CFStringRef
 SCDynamicStoreKeyCreateConsoleUser             (
                                                CFAllocatorRef  __nullable      allocator
 CFStringRef
 SCDynamicStoreKeyCreateConsoleUser             (
                                                CFAllocatorRef  __nullable      allocator
-                                               )               __OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
+                                               )               API_AVAILABLE(macos(10.1)) API_UNAVAILABLE(ios, tvos, watchos, bridgeos);
 
 /*!
        @function SCDynamicStoreKeyCreateHostNames
 
 /*!
        @function SCDynamicStoreKeyCreateHostNames
@@ -224,7 +221,7 @@ SCDynamicStoreKeyCreateConsoleUser          (
 CFStringRef
 SCDynamicStoreKeyCreateHostNames               (
                                                CFAllocatorRef  __nullable      allocator
 CFStringRef
 SCDynamicStoreKeyCreateHostNames               (
                                                CFAllocatorRef  __nullable      allocator
-                                               )               __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0/*SPI*/);
+                                               )               API_AVAILABLE(macos(10.2)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreKeyCreateLocation
 
 /*!
        @function SCDynamicStoreKeyCreateLocation
@@ -242,7 +239,7 @@ SCDynamicStoreKeyCreateHostNames            (
 CFStringRef
 SCDynamicStoreKeyCreateLocation                        (
                                                CFAllocatorRef  __nullable      allocator
 CFStringRef
 SCDynamicStoreKeyCreateLocation                        (
                                                CFAllocatorRef  __nullable      allocator
-                                               )               __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0/*SPI*/);
+                                               )               API_AVAILABLE(macos(10.2)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreKeyCreateProxies
 
 /*!
        @function SCDynamicStoreKeyCreateProxies
@@ -260,12 +257,11 @@ SCDynamicStoreKeyCreateLocation                   (
 CFStringRef
 SCDynamicStoreKeyCreateProxies                 (
                                                CFAllocatorRef  __nullable      allocator
 CFStringRef
 SCDynamicStoreKeyCreateProxies                 (
                                                CFAllocatorRef  __nullable      allocator
-                                               )               __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
 
 
 __END_DECLS
 
 CF_ASSUME_NONNULL_END
 CF_IMPLICIT_BRIDGING_DISABLED
 
-#endif /* USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS */
 #endif /* _SCDYNAMICSTOREKEY_H */
 #endif /* _SCDYNAMICSTOREKEY_H */