X-Git-Url: https://git.saurik.com/apple/configd.git/blobdiff_plain/9de8ab86392ba34369adc6be0bfc21bad9b7caa2..d94708881e41bd90afd74b1a1dd0524d039ba3f7:/SystemConfiguration.fproj/SCDynamicStoreCopySpecific.h?ds=sidebyside diff --git a/SystemConfiguration.fproj/SCDynamicStoreCopySpecific.h b/SystemConfiguration.fproj/SCDynamicStoreCopySpecific.h index 126b471..886e731 100644 --- a/SystemConfiguration.fproj/SCDynamicStoreCopySpecific.h +++ b/SystemConfiguration.fproj/SCDynamicStoreCopySpecific.h @@ -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, @@ -17,17 +17,14 @@ * 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 -#else /* USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS */ #define _SCDYNAMICSTORECOPYSPECIFIC_H -#include +#include #include #include #include @@ -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 */