]> 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 1edb7e17405d5341fb99484deed4c17bcdd68182..aa28274097475171bfb4d21ff730b8c542c51a88 100644 (file)
@@ -1,15 +1,15 @@
 /*
- * Copyright (c) 2000-2002, 2004, 2005 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2002, 2004, 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 _SCDYNAMICSTOREKEY_H
 #define _SCDYNAMICSTOREKEY_H
 
+#include <os/availability.h>
 #include <sys/cdefs.h>
 #include <CoreFoundation/CoreFoundation.h>
 
+CF_IMPLICIT_BRIDGING_ENABLED
+CF_ASSUME_NONNULL_BEGIN
 
 /*!
        @header SCDynamicStoreKey
@@ -58,10 +61,10 @@ __BEGIN_DECLS
  */
 CFStringRef
 SCDynamicStoreKeyCreate                                (
-                                               CFAllocatorRef  allocator,
-                                               CFStringRef     fmt,
+                                               CFAllocatorRef  __nullable      allocator,
+                                               CFStringRef                     fmt,
                                                ...
-                                               );
+                                               )               API_AVAILABLE(macos(10.1)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreKeyCreateNetworkGlobalEntity
@@ -83,10 +86,10 @@ SCDynamicStoreKeyCreate                             (
  */
 CFStringRef
 SCDynamicStoreKeyCreateNetworkGlobalEntity     (
-                                               CFAllocatorRef  allocator,
-                                               CFStringRef     domain,
-                                               CFStringRef     entity
-                                               );
+                                               CFAllocatorRef  __nullable      allocator,
+                                               CFStringRef                     domain,
+                                               CFStringRef                     entity
+                                               )               API_AVAILABLE(macos(10.1)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreKeyCreateNetworkInterface
@@ -106,9 +109,9 @@ SCDynamicStoreKeyCreateNetworkGlobalEntity  (
  */
 CFStringRef
 SCDynamicStoreKeyCreateNetworkInterface                (
-                                               CFAllocatorRef  allocator,
-                                               CFStringRef     domain
-                                               );
+                                               CFAllocatorRef  __nullable      allocator,
+                                               CFStringRef                     domain
+                                               )               API_AVAILABLE(macos(10.1)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreKeyCreateNetworkInterfaceEntity
@@ -132,11 +135,11 @@ SCDynamicStoreKeyCreateNetworkInterface           (
  */
 CFStringRef
 SCDynamicStoreKeyCreateNetworkInterfaceEntity  (
-                                               CFAllocatorRef  allocator,
-                                               CFStringRef     domain,
-                                               CFStringRef     ifname,
-                                               CFStringRef     entity
-                                               );
+                                               CFAllocatorRef  __nullable      allocator,
+                                               CFStringRef                     domain,
+                                               CFStringRef                     ifname,
+                                               CFStringRef     __nullable      entity
+                                               )               API_AVAILABLE(macos(10.1)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreKeyCreateNetworkServiceEntity
@@ -161,11 +164,11 @@ SCDynamicStoreKeyCreateNetworkInterfaceEntity     (
  */
 CFStringRef
 SCDynamicStoreKeyCreateNetworkServiceEntity    (
-                                               CFAllocatorRef  allocator,
-                                               CFStringRef     domain,
-                                               CFStringRef     serviceID,
-                                               CFStringRef     entity
-                                               );
+                                               CFAllocatorRef  __nullable      allocator,
+                                               CFStringRef                     domain,
+                                               CFStringRef                     serviceID,
+                                               CFStringRef     __nullable      entity
+                                               )               API_AVAILABLE(macos(10.1)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreKeyCreateComputerName
@@ -182,8 +185,8 @@ SCDynamicStoreKeyCreateNetworkServiceEntity (
 */
 CFStringRef
 SCDynamicStoreKeyCreateComputerName            (
-                                               CFAllocatorRef          allocator
-                                               );
+                                               CFAllocatorRef  __nullable      allocator
+                                               )               API_AVAILABLE(macos(10.1)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreKeyCreateConsoleUser
@@ -199,8 +202,8 @@ SCDynamicStoreKeyCreateComputerName         (
 */
 CFStringRef
 SCDynamicStoreKeyCreateConsoleUser             (
-                                               CFAllocatorRef          allocator
-                                               );
+                                               CFAllocatorRef  __nullable      allocator
+                                               )               API_AVAILABLE(macos(10.1)) API_UNAVAILABLE(ios, tvos, watchos, bridgeos);
 
 /*!
        @function SCDynamicStoreKeyCreateHostNames
@@ -217,8 +220,8 @@ SCDynamicStoreKeyCreateConsoleUser          (
 */
 CFStringRef
 SCDynamicStoreKeyCreateHostNames               (
-                                               CFAllocatorRef          allocator
-                                               );
+                                               CFAllocatorRef  __nullable      allocator
+                                               )               API_AVAILABLE(macos(10.2)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreKeyCreateLocation
@@ -235,8 +238,8 @@ SCDynamicStoreKeyCreateHostNames            (
 */
 CFStringRef
 SCDynamicStoreKeyCreateLocation                        (
-                                               CFAllocatorRef          allocator
-                                               );
+                                               CFAllocatorRef  __nullable      allocator
+                                               )               API_AVAILABLE(macos(10.2)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 /*!
        @function SCDynamicStoreKeyCreateProxies
@@ -253,9 +256,12 @@ SCDynamicStoreKeyCreateLocation                    (
 */
 CFStringRef
 SCDynamicStoreKeyCreateProxies                 (
-                                               CFAllocatorRef          allocator
-                                               );
+                                               CFAllocatorRef  __nullable      allocator
+                                               )               API_AVAILABLE(macos(10.1)) SPI_AVAILABLE(ios(2.0), tvos(9.0), watchos(1.0), bridgeos(1.0));
 
 __END_DECLS
 
-#endif /* _SCDYNAMICSTOREKEY_H */
+CF_ASSUME_NONNULL_END
+CF_IMPLICIT_BRIDGING_DISABLED
+
+#endif /* _SCDYNAMICSTOREKEY_H */