]>
git.saurik.com Git - apple/configd.git/blob - SystemConfiguration.fproj/SCPreferencesPathKey.h
2 * Copyright (c) 2004, 2005, 2008 Apple Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
21 * @APPLE_LICENSE_HEADER_END@
24 #ifndef _SCPREFERENCESPATHKEY_H
25 #define _SCPREFERENCESPATHKEY_H
27 #include <Availability.h>
28 #include <sys/cdefs.h>
29 #include <CoreFoundation/CoreFoundation.h>
32 @header SCPreferencesPathKey
38 * SCPreferencesPathKeyCreate*
39 * - convenience routines that create a CFString key for an item in the store
43 @function SCPreferencesPathKeyCreate
44 @discussion Creates a preferences path key using the given format.
47 SCPreferencesPathKeyCreate (
48 CFAllocatorRef allocator
,
51 ) __OSX_AVAILABLE_STARTING(__MAC_10_4
,__IPHONE_2_0
);
54 @function SCPreferencesPathKeyCreateNetworkServices
57 SCPreferencesPathKeyCreateNetworkServices (
58 CFAllocatorRef allocator
59 ) __OSX_AVAILABLE_STARTING(__MAC_10_4
,__IPHONE_2_0
);
62 @function SCPreferencesPathKeyCreateNetworkServiceEntity
65 SCPreferencesPathKeyCreateNetworkServiceEntity (
66 CFAllocatorRef allocator
,
69 ) __OSX_AVAILABLE_STARTING(__MAC_10_4
,__IPHONE_2_0
);
72 @function SCPreferencesPathKeyCreateSets
75 SCPreferencesPathKeyCreateSets (
76 CFAllocatorRef allocator
77 ) __OSX_AVAILABLE_STARTING(__MAC_10_4
,__IPHONE_2_0
);
80 @function SCPreferencesPathKeyCreateSet
83 SCPreferencesPathKeyCreateSet (
84 CFAllocatorRef allocator
,
86 ) __OSX_AVAILABLE_STARTING(__MAC_10_4
,__IPHONE_2_0
);
89 @function SCPreferencesPathKeyCreateSetNetworkInterfaceEntity
92 SCPreferencesPathKeyCreateSetNetworkInterfaceEntity(
93 CFAllocatorRef allocator
,
97 ) __OSX_AVAILABLE_STARTING(__MAC_10_4
,__IPHONE_2_0
);
100 @function SCPreferencesPathKeyCreateSetNetworkGlobalEntity
103 SCPreferencesPathKeyCreateSetNetworkGlobalEntity(
104 CFAllocatorRef allocator
,
107 ) __OSX_AVAILABLE_STARTING(__MAC_10_4
,__IPHONE_2_0
);
110 @function SCPreferencesPathKeyCreateSetNetworkService
113 SCPreferencesPathKeyCreateSetNetworkService (
114 CFAllocatorRef allocator
,
117 ) __OSX_AVAILABLE_STARTING(__MAC_10_4
,__IPHONE_2_0
);
120 @function SCPreferencesPathKeyCreateSetNetworkServiceEntity
123 SCPreferencesPathKeyCreateSetNetworkServiceEntity(
124 CFAllocatorRef allocator
,
128 ) __OSX_AVAILABLE_STARTING(__MAC_10_4
,__IPHONE_2_0
);
132 #endif /* _SCPREFERENCESPATHKEY_H */