]>
git.saurik.com Git - apple/configd.git/blob - SystemConfiguration.fproj/SCDynamicStoreKey.h
2 * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
23 #ifndef _SCDYNAMICSTOREKEY_H
24 #define _SCDYNAMICSTOREKEY_H
26 #include <sys/cdefs.h>
27 #include <CoreFoundation/CoreFoundation.h>
31 @header SCDynamicStoreKey
38 * SCDynamicStoreKeyCreate*
39 * - convenience routines that create a CFString key for an item in the store
43 @function SCDynamicStoreKeyCreate
44 @discussion Creates a store key using the given format.
47 SCDynamicStoreKeyCreate (
48 CFAllocatorRef allocator
,
54 @function SCDynamicStoreKeyCreateNetworkGlobalEntity
57 SCDynamicStoreKeyCreateNetworkGlobalEntity (
58 CFAllocatorRef allocator
,
64 @function SCDynamicStoreKeyCreateNetworkInterface
67 SCDynamicStoreKeyCreateNetworkInterface (
68 CFAllocatorRef allocator
,
73 @function SCDynamicStoreKeyCreateNetworkInterfaceEntity
76 SCDynamicStoreKeyCreateNetworkInterfaceEntity (
77 CFAllocatorRef allocator
,
84 @function SCDynamicStoreKeyCreateNetworkServiceEntity
87 SCDynamicStoreKeyCreateNetworkServiceEntity (
88 CFAllocatorRef allocator
,
90 CFStringRef serviceID
,
95 @function SCDynamicStoreKeyCreateComputerName
96 @discussion Creates a key that can be used by the SCDynamicStoreSetNotificationKeys()
97 function to receive notifications when the current
98 computer/host name changes.
99 @result A notification string for the current computer/host name.
102 SCDynamicStoreKeyCreateComputerName (
103 CFAllocatorRef allocator
107 @function SCDynamicStoreKeyCreateConsoleUser
108 @discussion Creates a key that can be used by the SCDynamicStoreSetNotificationKeys()
109 function to receive notifications when the current "Console"
111 @result A notification string for the current "Console" user.
114 SCDynamicStoreKeyCreateConsoleUser (
115 CFAllocatorRef allocator
119 @function SCDynamicStoreKeyCreateHostNames
120 @discussion Creates a key that can be used in conjunction with
121 SCDynamicStoreSetNotificationKeys() to receive
122 notifications when the HostNames entity changes. The
123 HostNames entity contains the LocalHostName.
124 @result A notification string for the HostNames entity.
127 SCDynamicStoreKeyCreateHostNames (
128 CFAllocatorRef allocator
132 @function SCDynamicStoreKeyCreateLocation
133 @discussion Creates a key that can be used in conjunction with
134 SCDynamicStoreSetNotificationKeys() to receive
135 notifications when the "location" identifier changes.
136 @result A notification string for the current "location" identifier.
139 SCDynamicStoreKeyCreateLocation (
140 CFAllocatorRef allocator
144 @function SCDynamicStoreKeyCreateProxies
145 @discussion Creates a key that can be used by the SCDynamicStoreSetNotificationKeys()
146 function to receive notifications when the current network proxy
147 settings (HTTP, FTP, ...) are changed.
148 @result A notification string for the current proxy settings.
151 SCDynamicStoreKeyCreateProxies (
152 CFAllocatorRef allocator
157 #endif /* _SCDYNAMICSTOREKEY_H */