]>
git.saurik.com Git - apple/configd.git/blob - SystemConfiguration.fproj/SCDynamicStoreKey.h
18bde7d783d3228647c3516ffa827de1bf5ec406
2 * Copyright (c) 2000-2002 Apple Computer, 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 _SCDYNAMICSTOREKEY_H
25 #define _SCDYNAMICSTOREKEY_H
27 #include <sys/cdefs.h>
28 #include <CoreFoundation/CoreFoundation.h>
32 @header SCDynamicStoreKey
39 * SCDynamicStoreKeyCreate*
40 * - convenience routines that create a CFString key for an item in the store
44 @function SCDynamicStoreKeyCreate
45 @discussion Creates a store key using the given format.
48 SCDynamicStoreKeyCreate (
49 CFAllocatorRef allocator
,
55 @function SCDynamicStoreKeyCreateNetworkGlobalEntity
58 SCDynamicStoreKeyCreateNetworkGlobalEntity (
59 CFAllocatorRef allocator
,
65 @function SCDynamicStoreKeyCreateNetworkInterface
68 SCDynamicStoreKeyCreateNetworkInterface (
69 CFAllocatorRef allocator
,
74 @function SCDynamicStoreKeyCreateNetworkInterfaceEntity
77 SCDynamicStoreKeyCreateNetworkInterfaceEntity (
78 CFAllocatorRef allocator
,
85 @function SCDynamicStoreKeyCreateNetworkServiceEntity
88 SCDynamicStoreKeyCreateNetworkServiceEntity (
89 CFAllocatorRef allocator
,
91 CFStringRef serviceID
,
96 @function SCDynamicStoreKeyCreateComputerName
97 @discussion Creates a key that can be used by the SCDynamicStoreSetNotificationKeys()
98 function to receive notifications when the current
99 computer/host name changes.
100 @result A notification string for the current computer/host name.
103 SCDynamicStoreKeyCreateComputerName (
104 CFAllocatorRef allocator
108 @function SCDynamicStoreKeyCreateConsoleUser
109 @discussion Creates a key that can be used by the SCDynamicStoreSetNotificationKeys()
110 function to receive notifications when the current "Console"
112 @result A notification string for the current "Console" user.
115 SCDynamicStoreKeyCreateConsoleUser (
116 CFAllocatorRef allocator
120 @function SCDynamicStoreKeyCreateHostNames
121 @discussion Creates a key that can be used in conjunction with
122 SCDynamicStoreSetNotificationKeys() to receive
123 notifications when the HostNames entity changes. The
124 HostNames entity contains the LocalHostName.
125 @result A notification string for the HostNames entity.
128 SCDynamicStoreKeyCreateHostNames (
129 CFAllocatorRef allocator
133 @function SCDynamicStoreKeyCreateLocation
134 @discussion Creates a key that can be used in conjunction with
135 SCDynamicStoreSetNotificationKeys() to receive
136 notifications when the "location" identifier changes.
137 @result A notification string for the current "location" identifier.
140 SCDynamicStoreKeyCreateLocation (
141 CFAllocatorRef allocator
145 @function SCDynamicStoreKeyCreateProxies
146 @discussion Creates a key that can be used by the SCDynamicStoreSetNotificationKeys()
147 function to receive notifications when the current network proxy
148 settings (HTTP, FTP, ...) are changed.
149 @result A notification string for the current proxy settings.
152 SCDynamicStoreKeyCreateProxies (
153 CFAllocatorRef allocator
158 #endif /* _SCDYNAMICSTOREKEY_H */