]>
git.saurik.com Git - apple/configd.git/blob - SystemConfiguration.fproj/SCDynamicStoreKey.h
25c96a75081718355bf1f37877962fd7e7d63c71
2 * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
26 #ifndef _SCDYNAMICSTOREKEY_H
27 #define _SCDYNAMICSTOREKEY_H
29 #include <sys/cdefs.h>
30 #include <CoreFoundation/CoreFoundation.h>
34 @header SCDynamicStoreKey
41 * SCDynamicStoreKeyCreate*
42 * - convenience routines that create a CFString key for an item in the store
46 @function SCDynamicStoreKeyCreate
47 @discussion Creates a store key using the given format.
50 SCDynamicStoreKeyCreate (
51 CFAllocatorRef allocator
,
57 @function SCDynamicStoreKeyCreateNetworkGlobalEntity
60 SCDynamicStoreKeyCreateNetworkGlobalEntity (
61 CFAllocatorRef allocator
,
67 @function SCDynamicStoreKeyCreateNetworkInterface
70 SCDynamicStoreKeyCreateNetworkInterface (
71 CFAllocatorRef allocator
,
76 @function SCDynamicStoreKeyCreateNetworkInterfaceEntity
79 SCDynamicStoreKeyCreateNetworkInterfaceEntity (
80 CFAllocatorRef allocator
,
87 @function SCDynamicStoreKeyCreateNetworkServiceEntity
90 SCDynamicStoreKeyCreateNetworkServiceEntity (
91 CFAllocatorRef allocator
,
93 CFStringRef serviceID
,
98 @function SCDynamicStoreKeyCreateComputerName
99 @discussion Creates a key that can be used by the SCDynamicStoreSetNotificationKeys()
100 function to receive notifications when the current
101 computer/host name changes.
102 @result A notification string for the current computer/host name.
105 SCDynamicStoreKeyCreateComputerName (
106 CFAllocatorRef allocator
110 @function SCDynamicStoreKeyCreateConsoleUser
111 @discussion Creates a key that can be used by the SCDynamicStoreSetNotificationKeys()
112 function to receive notifications when the current "Console"
114 @result A notification string for the current "Console" user.
117 SCDynamicStoreKeyCreateConsoleUser (
118 CFAllocatorRef allocator
122 @function SCDynamicStoreKeyCreateHostNames
123 @discussion Creates a key that can be used in conjunction with
124 SCDynamicStoreSetNotificationKeys() to receive
125 notifications when the HostNames entity changes. The
126 HostNames entity contains the LocalHostName.
127 @result A notification string for the HostNames entity.
130 SCDynamicStoreKeyCreateHostNames (
131 CFAllocatorRef allocator
135 @function SCDynamicStoreKeyCreateLocation
136 @discussion Creates a key that can be used in conjunction with
137 SCDynamicStoreSetNotificationKeys() to receive
138 notifications when the "location" identifier changes.
139 @result A notification string for the current "location" identifier.
142 SCDynamicStoreKeyCreateLocation (
143 CFAllocatorRef allocator
147 @function SCDynamicStoreKeyCreateProxies
148 @discussion Creates a key that can be used by the SCDynamicStoreSetNotificationKeys()
149 function to receive notifications when the current network proxy
150 settings (HTTP, FTP, ...) are changed.
151 @result A notification string for the current proxy settings.
154 SCDynamicStoreKeyCreateProxies (
155 CFAllocatorRef allocator
160 #endif /* _SCDYNAMICSTOREKEY_H */