2 * Copyright (c) 2000-2014 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@
26 * - generates System Configuration header/cfile
27 * - invoke with "header" to generate the header
28 * - invoke with "cfile" to generate the cfile
32 * Modification History
34 * 4 March 2004 Allan Nathanson (ajn@apple.com)
35 * - an alternate scheme to help facilitate access to the schema
36 * definitions for cross-compilation to earlier releases AND
37 * access to CFM applications.
39 * 16 July 2003 Allan Nathanson (ajn@apple.com)
40 * - changes to facilitate cross-compilation to earlier releases
42 * 5 May 2003 Allan Nathanson (ajn@apple.com)
43 * - switch back to "extern const CFStringRef ..."
45 * 1 June 2001 Allan Nathanson <ajn@apple.com>
46 * - public API conversion
48 * 27 Apr 2001 Allan Nathanson (ajn@apple.com)
49 * - switch from "extern const CFStringRef ..." to "#define ..."
51 * 3 Nov 2000 Dieter Siegmund (dieter@apple)
58 #include <mach/boolean.h>
60 char copyright_string
[] =
62 " * Copyright (c) 2000-2014 Apple Inc. All rights reserved.\n"
64 " * @APPLE_LICENSE_HEADER_START@\n"
66 " * This file contains Original Code and/or Modifications of Original Code\n"
67 " * as defined in and that are subject to the Apple Public Source License\n"
68 " * Version 2.0 (the 'License'). You may not use this file except in\n"
69 " * compliance with the License. Please obtain a copy of the License at\n"
70 " * http://www.opensource.apple.com/apsl/ and read it before using this\n"
73 " * The Original Code and all software distributed under the License are\n"
74 " * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER\n"
75 " * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,\n"
76 " * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,\n"
77 " * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.\n"
78 " * Please see the License for the specific language governing rights and\n"
79 " * limitations under the License.\n"
81 " * @APPLE_LICENSE_HEADER_END@\n"
93 SC_10_1_10_4
, // deprecated in 10.4
95 SC_10_1_10_5
, // deprecated in 10.5
97 SC_10_5_10_7
, // deprecated in 10.7
98 SC_10_1_10_6
, // deprecated in 10.6
99 SC_10_2_10_6
, // deprecated in 10.6
100 SC_10_1_10_9
, // deprecated in 10.9
101 SC_10_2_10_9
, // deprecated in 10.9
102 SC_10_3_10_9
, // deprecated in 10.9
103 SC_10_4_10_9
, // deprecated in 10.9
110 SC_10_6_IPHONE_2_0_PRIVATE
,
111 SC_10_6_IPHONE_3_0_PRIVATE
,
112 SC_10_7_IPHONE_4_0_PRIVATE
,
113 SC_10_7_IPHONE_5_0_PRIVATE
,
114 SC_10_8_IPHONE_6_0_PRIVATE
,
115 SC_10_9_IPHONE_6_0_PRIVATE
,
116 SC_10_9_IPHONE_7_0_PRIVATE
,
117 SC_10_10_IPHONE_7_0_PRIVATE
,
118 SC_10_10_IPHONE_8_0_PRIVATE
,
119 SC_IPHONE_2_0_PRIVATE
,
125 #define SC_SCHEMA_DECLARATION "SC_SCHEMA_DECLARATION"
126 #define SC_SCHEMA_KV "SC_SCHEMA_KV"
128 #define KEY_PREFIX "kSC"
131 #define DYNAMICSTORE "DynamicStore"
135 #define NETENT "EntNet"
136 #define NETPROP "PropNet"
137 #define NETVAL "ValNet"
138 #define SETUPENT "EntSetup"
139 #define SETUPPROP "PropSetup"
140 #define SYSTEMENT "EntSystem"
141 #define SYSTEMPROP "PropSystem"
143 #define USERSENT "EntUsers"
144 #define USERSPROP "PropUsers"
145 #define VERSION "Version"
146 #define VIRTUALPROP "PropVirtualNetworkInterfaces"
148 #define CFARRAY_CFDICTIONARY "CFArray[CFDictionary]"
149 #define CFARRAY_CFNUMBER "CFArray[CFNumber]"
150 #define CFARRAY_CFSTRING "CFArray[CFString]"
151 #define CFBOOLEAN "CFBoolean"
152 #define CFDATA "CFData"
153 #define CFDATE "CFDate"
154 #define CFDICTIONARY "CFDictionary"
155 #define CFNUMBER "CFNumber"
156 #define CFNUMBER_BOOL "CFNumber (0 or 1)"
157 #define CFSTRING "CFString"
161 #define ACCESSPOINTNAME "AccessPointName"
162 #define ACCOUNT "Account"
163 #define ACSP "ACSP" // Apple Client Server Protocol
164 #define ACTION "Action"
165 #define ACTIVE "Active"
166 #define ADDITIONAL "Additional"
167 #define ADDRESS "Address"
168 #define ADDRESSES "Addresses"
169 #define AFTER "After"
170 #define AGGRESSIVE "Aggressive"
171 #define AIRPORT "AirPort"
172 #define ALERT "Alert"
173 #define ALIVE "Alive"
174 #define ALLOW "Allow"
175 #define ALLOWED "Allowed"
176 #define ALLOWNETCREATION "AllowNetCreation"
177 #define ALTERNATE "Alternate"
178 #define ALWAYS "Always"
179 #define ANYREGEX "AnyRegex"
180 #define APPLETALK "AppleTalk"
182 #define AUTHENTICATIONMETHOD "AuthenticationMethod"
183 #define AUTOCONFIG "AutoConfig"
184 #define AUTODISCOVERY "AutoDiscovery"
185 #define AUTOMATIC "Automatic"
187 #define BEFORE "Before"
188 #define BINDINGMETHODS "BindingMethods"
190 #define BOOTP "BOOTP"
191 #define BRIDGE "Bridge"
192 #define BROADCAST "Broadcast"
193 #define BYPASS "Bypass"
194 #define CALLWAITINGAUDIBLEALERT "CallWaitingAudibleAlert"
195 #define CAPABILITY "Capability"
196 #define CAPABILITIES "Capabilities"
197 #define CAUSE "Cause"
200 #define CELLULAR "Cellular"
201 #define CERTIFICATE "Certificate"
203 #define COMPATIBLE "Compatible"
204 #define COMPRESSIONACFIELD "CompressionACField"
205 #define COMPRESSIONPFIELD "CompressionPField"
206 #define COMPRESSIONVJ "CompressionVJ"
207 #define COMPUTERNAME "ComputerName"
208 #define CONFIGMETHOD "ConfigMethod"
209 #define CONFIRMED "Confirmed"
210 #define CONNECT "Connect"
211 #define CONNECTDELAY "ConnectDelay"
212 #define CONNECTION "Connection"
213 #define CONNECTSPEED "ConnectSpeed"
214 #define CONNECTTIME "ConnectTime"
215 #define CONSERVATIVE "Conservative"
216 #define CONSOLEUSER "ConsoleUser"
217 #define CONTEXTID "ContextID"
218 #define CREDENTIAL "Credential"
219 #define CURRENTSET "CurrentSet"
220 #define DATACOMPRESSION "DataCompression"
221 #define DEFAULT "Default"
222 #define DEFAULTZONE "DefaultZone"
223 #define DESIGNATED "Designated"
225 #define DESTINATION "Destination"
226 #define DETACHING "Detaching"
227 #define DEVICE "Device"
228 #define DEVICENAME "DeviceName"
230 #define DHCPCLIENTID "DHCPClientID"
231 #define DIALMODE "DialMode"
232 #define DIALONDEMAND "DialOnDemand"
233 #define DISCONNECT "Disconnect"
234 #define DISCONNECTONANSWER "DisconnectOnAnswer"
235 #define DISCONNECTONFASTUSERSWITCH "DisconnectOnFastUserSwitch"
236 #define DISCONNECTONIDLE "DisconnectOnIdle"
237 #define DISCONNECTONIDLETIMER "DisconnectOnIdleTimer"
238 #define DISCONNECTONLOGOUT "DisconnectOnLogout"
239 #define DISCONNECTONSLEEP "DisconnectOnSleep"
240 #define DISCONNECTONWAKE "DisconnectOnWake"
241 #define DISCONNECTONWAKETIMER "DisconnectOnWakeTimer"
242 #define DISCONNECTTIME "DisconnectTime"
243 #define DISPLAYTERMINALWINDOW "DisplayTerminalWindow"
245 #define DOMAIN "Domain"
246 #define DOMAINS "Domains"
247 #define DURINGSLEEP "DuringSleep"
249 #define EAPOL "EAPOL"
251 #define ECHOFAILURE "EchoFailure"
252 #define ECHOINTERVAL "EchoInterval"
253 #define ENABLE "Enable"
254 #define ENABLED "Enabled"
255 #define ENCODING "Encoding"
256 #define ENCRYPTION "Encryption"
257 #define ERRORCORRECTION "ErrorCorrection"
258 #define ETHERNET "Ethernet"
259 #define EVALUATE "Evaluate"
260 #define EXCEPTIONSLIST "ExceptionsList"
261 #define EXCLUDED "Excluded"
262 #define EXCLUDESIMPLEHOSTNAMES "ExcludeSimpleHostnames"
263 #define EXECUTABLE "Executable"
264 #define EXPENSIVE "Expensive"
265 #define EXTERNAL "External"
266 #define FAILOVER "Failover"
267 #define FAILURE "Failure"
268 #define FALLBACK "FallBack"
270 #define FIREWIRE "FireWire"
271 #define FIRST "First"
272 #define FLAGS "Flags"
274 #define GATEWAY "Gateway"
276 #define GLOBAL "Global"
277 #define GOPHER "Gopher"
278 #define HARDWARE "Hardware"
281 #define HOSTNAME "HostName"
282 #define HOSTNAMES "HostNames"
284 #define HTTPS "HTTPS"
285 #define HYBRID "Hybrid"
286 #define IDENTIFIER "Identifier"
287 #define IDLEREMINDER "IdleReminder"
288 #define IDLEREMINDERTIMER "IdleReminderTimer"
289 #define IFNEEDED "IfNeeded"
290 #define IGNORE "Ignore"
291 #define IGNOREDIALTONE "IgnoreDialTone"
292 #define IGNORELINKSTATUS "IgnoreLinkStatus"
293 #define INACTIVE "Inactive"
294 #define INCLUDED "Included"
296 #define INFORM "INFORM"
297 #define INTERFACE "Interface"
298 #define INTERFACENAME "InterfaceName"
299 #define INTERFACES "Interfaces"
304 #define IPSEC "IPSec"
305 #define JAVASCRIPT "JavaScript"
307 #define JUMBO_MTU "JUMBO_MTU"
308 #define KEYCHAIN "Keychain"
309 #define KEYID "KeyID"
312 #define LAYER "Layer"
315 #define LINKISSUES "LinkIssues"
316 #define LINKLOCAL "LinkLocal"
317 #define LINKQUALITY "LinkQuality"
318 #define LOCALCERTIFICATE "LocalCertificate"
319 #define LOCALHOSTNAME "LocalHostName"
320 #define LOCALIDENTIFIER "LocalIdentifier"
321 #define LOGFILE "Logfile"
322 #define LOOPBACK "Loopback"
325 #define MACADDRESS "MACAddress"
326 #define MANUAL "Manual"
327 #define MATCH "Match"
328 #define MEDIA "Media"
329 #define MIXED "Mixed"
330 #define MODEL "Model"
332 #define MODEM "Modem"
333 #define MODULEID "ModuleID"
334 #define MPPE40 "MPPE40"
335 #define MPPE128 "MPPE128"
337 #define MSCHAP1 "MSCHAP1"
338 #define MSCHAP2 "MSCHAP2"
341 #define NETBIOS "NetBIOS"
342 #define NETINFO "NetInfo"
343 #define NETWORK "Network"
344 #define NETWORKID "NetworkID"
345 #define NETWORKRANGE "NetworkRange"
346 #define NETWORKSERVICES "NetworkServices"
347 #define NEVER "Never"
350 #define NODEID "NodeID"
352 #define ONDEMAND "OnDemand"
353 #define ONRETRY "OnRetry"
354 #define OPTIONS "Options"
355 #define ORDER "Order"
356 #define ORDERS "Orders"
357 #define OVERRIDEPRIMARY "OverridePrimary"
359 #define PARAMETERS "Parameters"
360 #define PASSIVE "Passive"
361 #define PASSWORD "Password"
363 #define PERSONALITY "Personality"
364 #define PLUGIN "Plugin"
365 #define PLUGINS "Plugins"
366 #define POWER "Power"
369 #define PPPOE "PPPoE"
370 #define PPPSERIAL "PPPSerial"
372 #define PREFERRED "Preferred"
373 #define PREFIXLENGTH "PrefixLength"
374 #define PREFS "Prefs"
375 #define PRIMARYINTERFACE "PrimaryInterface"
376 #define PRIMARYRANK "PrimaryRank"
377 #define PRIMARYSERVICE "PrimaryService"
378 #define PRIORITY "Priority"
379 #define PROBE "Probe"
380 #define PROMPT "Prompt"
381 #define PROTOCOL "Protocol"
382 #define PROXIES "Proxies"
383 #define PROXY "Proxy"
384 #define PULSEDIAL "PulseDial"
385 #define RANKED "Ranked"
386 #define RECEIVEACCM "ReceiveACCM"
387 #define RECENT "Recent"
388 #define REDIALCOUNT "RedialCount"
389 #define REDIAL "Redial"
390 #define REDIALINTERVAL "RedialInterval"
391 #define REGION "Region"
392 #define RELAY "Relay"
393 #define REMINDER "Reminder"
394 #define REMINDERTIME "ReminderTime"
395 #define REMOTEADDRESS "RemoteAddress"
396 #define REQUESTED "Requested"
397 #define REQUIRED "Required"
398 #define REQUIREMENT "Requirement"
399 #define RESOLVED "Resolved"
400 #define RETRYCONNECTTIME "RetryConnectTime"
401 #define ROOTSEPARATOR "RootSeparator"
402 #define ROUTE "Route"
403 #define ROUTER "Router"
404 #define ROUTES "Routes"
405 #define ROUTERADVERTISEMENT "RouterAdvertisement"
408 #define RULES "Rules"
409 #define RXCSUM "RXCSUM"
410 #define SAVEPASSWORDS "SavePasswords"
411 #define SCOPE "Scope"
412 #define SCOPED "Scoped"
413 #define SCRIPT "Script"
414 #define SEARCH "Search"
415 #define SEEDNETWORKRANGE "SeedNetworkRange"
416 #define SEEDROUTER "SeedRouter"
417 #define SEEDZONES "SeedZones"
418 #define SERVER "Server"
419 #define SERVERS "Servers"
420 #define SERVICE "Service"
421 #define SERVICES "Services"
422 #define SERVICEIDS "ServiceIDs"
423 #define SESSIONTIMER "SessionTimer"
425 #define SETUP "Setup"
426 #define SHAREDSECRET "SharedSecret"
427 #define SIGNING "Signing"
429 #define SOCKS "SOCKS"
430 #define SORTLIST "SortList"
431 #define SPEAKER "Speaker"
432 #define SPEED "Speed"
434 #define STATE "State"
435 #define STATUS "Status"
437 #define STRONGEST "Strongest"
438 #define SUBNETMASK "SubnetMask"
439 #define SUBNETMASKS "SubnetMasks"
440 #define SUBTYPE "SubType"
441 #define SUPPLEMENTAL "Supplemental"
442 #define SUPPORTED "Supported"
443 #define SUPPORTSMODEMONHOLD "SupportsModemOnHold"
444 #define SUSPENDED "Suspended"
445 #define SYSTEM "System"
448 #define TERMINALSCRIPT "TerminalScript"
449 #define TIMEOUT "Timeout"
450 #define TIMESTAMP "TimeStamp"
451 #define TOKEN "Token"
452 #define TRANSMITACCM "TransmitACCM"
453 #define TRANSPORT "Transport"
457 #define TXCSUM "TXCSUM"
460 #define UPDATED "Updated"
461 #define URLSTRING "URLString"
462 #define USERDEFINEDNAME "UserDefinedName"
464 #define USERS "Users"
466 #define VENDOR "Vendor"
467 #define VERBOSELOGGING "VerboseLogging"
468 #define VIRTUALNETWORKINTERFACES "VirtualNetworkInterfaces"
470 #define VLAN_HWTAGGING "VLAN_HWTAGGING"
471 #define VLAN_MTU "VLAN_MTU"
473 #define WAITFORDIALTONE "WaitForDialTone"
476 #define WORKGROUP "Workgroup"
477 #define XAUTH "XAuth"
488 static schemaDefinition names
[] = {
490 { GROUP
, NULL
, "Reserved Keys", NULL
, NULL
},
492 { SC_10_1
, RESV
, LINK
, "__LINK__", CFSTRING
},
493 { SC_10_1
, RESV
, INACTIVE
, "__INACTIVE__", NULL
},
494 { COMMENT
, "", NULL
, NULL
, NULL
},
496 { GROUP
, NULL
, "Generic Keys", NULL
, NULL
},
498 { SC_10_1
, PROP
, INTERFACENAME
, NULL
, CFSTRING
},
499 { SC_10_1
, PROP
, MACADDRESS
, NULL
, CFSTRING
},
500 { SC_10_1
, PROP
, USERDEFINEDNAME
, NULL
, CFSTRING
},
501 { SC_10_1
, PROP
, VERSION
, NULL
, CFSTRING
},
502 { COMMENT
, "", NULL
, NULL
, NULL
},
504 { GROUP_PRIVATE
, NULL
, "Generic Keys", NULL
, NULL
},
505 { SC_10_10_IPHONE_8_0_PRIVATE
, PROP
, CONFIRMED INTERFACENAME
, NULL
, CFSTRING
},
506 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
509 { GROUP
, PREF
, "Preference Keys", NULL
, NULL
},
511 { SC_10_1
, PREF
, CURRENTSET
, NULL
, CFSTRING
},
512 { SC_10_1
, PREF
, NETWORKSERVICES
, NULL
, CFDICTIONARY
},
513 { SC_10_1
, PREF
, SETS
, NULL
, CFDICTIONARY
},
514 { SC_10_1
, PREF
, SYSTEM
, NULL
, CFDICTIONARY
},
515 { COMMENT
, "", NULL
, NULL
, NULL
},
517 { GROUP_PRIVATE
, PREF
, "Preference Keys", NULL
, NULL
},
519 { SC_10_5_PRIVATE
, PREF
, VIRTUALNETWORKINTERFACES
, NULL
, CFDICTIONARY
},
520 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
522 { GROUP
, COMP
, "Component Keys", NULL
, NULL
},
524 { SC_10_1
, COMP
, NETWORK
, NULL
, NULL
},
525 { SC_10_1
, COMP
, SERVICE
, NULL
, NULL
},
526 { SC_10_1
, COMP
, GLOBAL
, NULL
, NULL
},
527 { SC_10_2
, COMP
, HOSTNAMES
, NULL
, NULL
},
528 { SC_10_1
, COMP
, INTERFACE
, NULL
, NULL
},
529 { SC_10_1
, COMP
, SYSTEM
, NULL
, NULL
},
530 { SC_10_1
, COMP
, USERS
, NULL
, NULL
},
531 { COMMENT
, "", NULL
, NULL
, NULL
},
533 { COMMENT
, "--- Regex pattern which matches any component ---", NULL
},
534 { SC_10_1
, COMP
, ANYREGEX
, "[^/]+", NULL
},
535 { COMMENT
, "", NULL
, NULL
, NULL
},
537 { GROUP
, NETENT
, "Network Entity Keys", NULL
, NULL
},
539 { SC_10_1
, NETENT
, AIRPORT
, NULL
, CFDICTIONARY
},
540 { DEFINE
, "#if", "!TARGET_OS_IPHONE", NULL
, NULL
},
541 { SC_10_1_10_6
, NETENT
, APPLETALK
, NULL
, CFDICTIONARY
},
542 { DEFINE
, "#endif", "// !TARGET_OS_IPHONE", NULL
, NULL
},
543 { SC_10_1
, NETENT
, DHCP
, NULL
, CFDICTIONARY
},
544 { SC_10_1
, NETENT
, DNS
, NULL
, CFDICTIONARY
},
545 { SC_10_1
, NETENT
, ETHERNET
, NULL
, CFDICTIONARY
},
546 { SC_10_3
, NETENT
, FIREWIRE
, NULL
, CFDICTIONARY
},
547 { SC_10_1
, NETENT
, INTERFACE
, NULL
, CFDICTIONARY
},
548 { SC_10_5
, NETENT
, IPSEC
, NULL
, CFDICTIONARY
},
549 { SC_10_1
, NETENT
, IPV4
, NULL
, CFDICTIONARY
},
550 { SC_10_1
, NETENT
, IPV6
, NULL
, CFDICTIONARY
},
551 { SC_10_3
, NETENT
, L2TP
, NULL
, CFDICTIONARY
},
552 { SC_10_1
, NETENT
, LINK
, NULL
, CFDICTIONARY
},
553 { SC_10_1
, NETENT
, MODEM
, NULL
, CFDICTIONARY
},
554 { DEFINE
, "#if", "!TARGET_OS_IPHONE", NULL
, NULL
},
555 { SC_10_1_10_5
, NETENT
, NETINFO
, NULL
, CFDICTIONARY
},
556 { DEFINE
, "#endif", "// !TARGET_OS_IPHONE", NULL
, NULL
},
557 { SC_10_1
, NETENT
, PPP
, NULL
, CFDICTIONARY
},
558 { SC_10_1
, NETENT
, PPPOE
, NULL
, CFDICTIONARY
},
559 { SC_10_3
, NETENT
, PPPSERIAL
, NULL
, CFDICTIONARY
},
560 { SC_10_3
, NETENT
, PPTP
, NULL
, CFDICTIONARY
},
561 { SC_10_1
, NETENT
, PROXIES
, NULL
, CFDICTIONARY
},
562 { DEFINE
, "#if", "!TARGET_OS_IPHONE", NULL
, NULL
},
563 { SC_10_5
, NETENT
, SMB
, NULL
, CFDICTIONARY
},
564 { DEFINE
, "#endif", "// !TARGET_OS_IPHONE", NULL
, NULL
},
565 { SC_10_3
, NETENT
, STF
, NULL
, CFDICTIONARY
},
566 { COMMENT
, "", NULL
, NULL
, NULL
},
568 { GROUP_PRIVATE
, NETENT
, "Network Entity Keys", NULL
, NULL
},
570 { SC_10_10_IPHONE_7_0_PRIVATE
, NETENT
, ACTIVE DURINGSLEEP REQUESTED
, NULL
, CFDICTIONARY
},
571 { SC_10_10_IPHONE_7_0_PRIVATE
, NETENT
, ACTIVE DURINGSLEEP SUPPORTED
, NULL
, CFDICTIONARY
},
572 { SC_10_9_IPHONE_7_0_PRIVATE
, NETENT
, APP LAYER
, NULL
, CFDICTIONARY
},
573 { SC_10_5_PRIVATE
, NETENT
, EAPOL
, NULL
, CFDICTIONARY
},
574 { SC_10_10_IPHONE_8_0_PRIVATE
, NETENT
, IPV4 ROUTER ARP FAILURE
, NULL
, NULL
},
575 { SC_10_10_IPHONE_8_0_PRIVATE
, NETENT
, IPV4 ROUTER ARP ALIVE
, NULL
, NULL
},
576 { SC_10_9_IPHONE_7_0_PRIVATE
, NETENT
, LINKISSUES
, NULL
, CFDICTIONARY
},
577 { SC_10_7_IPHONE_5_0_PRIVATE
, NETENT
, LINKQUALITY
, NULL
, CFDICTIONARY
},
578 { SC_10_7_IPHONE_4_0_PRIVATE
, NETENT
, LOOPBACK
, NULL
, CFDICTIONARY
},
579 { SC_10_6_IPHONE_3_0_PRIVATE
, NETENT
, ONDEMAND
, NULL
, CFDICTIONARY
},
580 { SC_10_6_IPHONE_2_0_PRIVATE
, NETENT
, SERVICE
, "__SERVICE__", CFDICTIONARY
},
581 { SC_10_7_IPHONE_4_0_PRIVATE
, NETENT
, VPN
, NULL
, CFDICTIONARY
},
582 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
584 { GROUP
, NETPROP
, KEY_PREFIX COMP NETWORK
" Properties", NULL
, NULL
},
586 { SC_10_2
, NETPROP
, OVERRIDEPRIMARY
, NULL
, CFNUMBER_BOOL
},
587 { SC_10_1
, NETPROP
, SERVICE ORDER
, NULL
, CFARRAY_CFSTRING
},
588 { SC_10_1
, NETPROP
, PPP OVERRIDEPRIMARY
, NULL
, CFNUMBER_BOOL
},
589 { COMMENT
, "", NULL
, NULL
, NULL
},
591 { GROUP_PRIVATE
, NETPROP
, KEY_PREFIX COMP NETWORK
" Properties", NULL
, NULL
},
593 { SC_10_5_PRIVATE
, NETPROP
, IGNORELINKSTATUS
, NULL
, CFBOOLEAN
},
594 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
596 { GROUP
, NETPROP INTERFACES
, KEY_PREFIX COMP NETWORK INTERFACE
" Properties", NULL
, NULL
},
598 { SC_10_2
, NETPROP
, INTERFACES
, NULL
, CFARRAY_CFSTRING
},
599 { COMMENT
, "", NULL
, NULL
, NULL
},
601 { GROUP
, NETPROP LOCALHOSTNAME
, KEY_PREFIX COMP NETWORK HOSTNAMES
" Properties", NULL
, NULL
},
603 { SC_10_2
, NETPROP
, LOCALHOSTNAME
, NULL
, CFSTRING
},
604 { COMMENT
, "", NULL
, NULL
, NULL
},
606 { GROUP_DEPRECATED
, NETPROP AIRPORT
, KEY_PREFIX NETENT AIRPORT
" (Hardware) Entity Keys", NULL
, NULL
},
608 { SC_10_2_10_9
, NETPROP AIRPORT
, ALLOWNETCREATION
, NULL
, CFNUMBER_BOOL
},
609 { SC_10_1_10_9
, NETPROP AIRPORT
, AUTH PASSWORD
, NULL
, CFDATA
},
610 { SC_10_1_10_9
, NETPROP AIRPORT
, AUTH PASSWORD ENCRYPTION
, NULL
, CFSTRING
},
611 { SC_10_2_10_9
, NETPROP AIRPORT
, JOIN MODE
, NULL
, CFSTRING
},
612 { SC_10_1_10_9
, NETPROP AIRPORT
, POWER ENABLED
, NULL
, CFNUMBER_BOOL
},
613 { SC_10_1_10_9
, NETPROP AIRPORT
, PREFERRED NETWORK
, NULL
, CFSTRING
},
614 { SC_10_2_10_9
, NETPROP AIRPORT
, SAVEPASSWORDS
, NULL
, CFNUMBER_BOOL
},
615 { COMMENT_DEPRECATED
, "", NULL
, NULL
, NULL
},
616 { COMMENT_DEPRECATED
, "--- " KEY_PREFIX NETPROP AIRPORT JOIN MODE
" values ---", NULL
, NULL
, NULL
},
617 { SC_10_3_10_9
, NETVAL AIRPORT JOIN MODE
, AUTOMATIC
, NULL
, NULL
},
618 { SC_10_2_10_9
, NETVAL AIRPORT JOIN MODE
, PREFERRED
, NULL
, NULL
},
619 { SC_10_4_10_9
, NETVAL AIRPORT JOIN MODE
, RANKED
, NULL
, NULL
},
620 { SC_10_2_10_9
, NETVAL AIRPORT JOIN MODE
, RECENT
, NULL
, NULL
},
621 { SC_10_2_10_9
, NETVAL AIRPORT JOIN MODE
, STRONGEST
, NULL
, NULL
},
622 { COMMENT_DEPRECATED
, "", NULL
, NULL
, NULL
},
623 { COMMENT_DEPRECATED
, "--- " KEY_PREFIX NETPROP AIRPORT PASSWORD ENCRYPTION
" values ---", NULL
, NULL
, NULL
},
624 { SC_10_3_10_9
, NETVAL AIRPORT AUTH PASSWORD ENCRYPTION
, KEYCHAIN
, NULL
, NULL
},
625 { COMMENT_DEPRECATED
, "", NULL
, NULL
, NULL
},
627 { GROUP_DEPRECATED
, NETPROP APPLETALK
, KEY_PREFIX NETENT APPLETALK
" Entity Keys", NULL
, NULL
},
629 { DEFINE
, "#if", "!TARGET_OS_IPHONE", NULL
, NULL
},
630 { SC_10_1_10_6
, NETPROP APPLETALK
, COMPUTERNAME
, NULL
, CFSTRING
},
631 { SC_10_1_10_6
, NETPROP APPLETALK
, COMPUTERNAME ENCODING
, NULL
, CFNUMBER
},
632 { SC_10_1_10_6
, NETPROP APPLETALK
, CONFIGMETHOD
, NULL
, CFSTRING
},
633 { SC_10_1_10_6
, NETPROP APPLETALK
, DEFAULTZONE
, NULL
, CFSTRING
},
634 { SC_10_1_10_6
, NETPROP APPLETALK
, NETWORKID
, NULL
, CFNUMBER
},
635 { SC_10_2_10_6
, NETPROP APPLETALK
, NETWORKRANGE
, NULL
, CFARRAY_CFNUMBER
},
636 { SC_10_1_10_6
, NETPROP APPLETALK
, NODEID
, NULL
, CFNUMBER
},
637 { SC_10_1_10_6
, NETPROP APPLETALK
, SEEDNETWORKRANGE
, NULL
, CFARRAY_CFNUMBER
},
638 { SC_10_1_10_6
, NETPROP APPLETALK
, SEEDZONES
, NULL
, CFARRAY_CFSTRING
},
639 { COMMENT_DEPRECATED
, "", NULL
, NULL
, NULL
},
640 { COMMENT_DEPRECATED
, "--- " KEY_PREFIX NETPROP APPLETALK CONFIGMETHOD
" values ---", NULL
, NULL
, NULL
},
641 { SC_10_1_10_6
, NETVAL APPLETALK CONFIGMETHOD
, NODE
, NULL
, NULL
},
642 { SC_10_1_10_6
, NETVAL APPLETALK CONFIGMETHOD
, ROUTER
, NULL
, NULL
},
643 { SC_10_1_10_6
, NETVAL APPLETALK CONFIGMETHOD
, SEEDROUTER
, NULL
, NULL
},
644 { DEFINE
, "#endif", "// !TARGET_OS_IPHONE", NULL
, NULL
},
645 { COMMENT_DEPRECATED
, "", NULL
, NULL
, NULL
},
648 { GROUP
, NETPROP DNS
, KEY_PREFIX NETENT DNS
" Entity Keys", NULL
, NULL
},
650 { SC_10_1
, NETPROP DNS
, DOMAIN NAME
, NULL
, CFSTRING
},
651 { SC_10_4
, NETPROP DNS
, OPTIONS
, NULL
, CFSTRING
},
652 { SC_10_1
, NETPROP DNS
, SEARCH DOMAINS
, NULL
, CFARRAY_CFSTRING
},
653 { SC_10_4
, NETPROP DNS
, SEARCH ORDER
, NULL
, CFNUMBER
},
654 { SC_10_1
, NETPROP DNS
, SERVER ADDRESSES
, NULL
, CFARRAY_CFSTRING
},
655 { SC_10_4
, NETPROP DNS
, SERVER PORT
, NULL
, CFNUMBER
},
656 { SC_10_4
, NETPROP DNS
, SERVER TIMEOUT
, NULL
, CFNUMBER
},
657 { SC_10_1
, NETPROP DNS
, SORTLIST
, NULL
, CFARRAY_CFSTRING
},
658 { SC_10_4
, NETPROP DNS
, SUPPLEMENTAL MATCH DOMAINS
, NULL
, CFARRAY_CFSTRING
},
659 { SC_10_4
, NETPROP DNS
, SUPPLEMENTAL MATCH ORDERS
, NULL
, CFARRAY_CFNUMBER
},
660 { COMMENT
, "", NULL
, NULL
, NULL
},
662 { GROUP_PRIVATE
, NETPROP DNS
, KEY_PREFIX NETENT DNS
" Entity Keys", NULL
, NULL
},
664 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP DNS
, SERVICE IDENTIFIER
, NULL
, CFNUMBER
},
665 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP DNS
, SUPPLEMENTAL MATCH DOMAINS NO SEARCH
, NULL
, CFNUMBER_BOOL
},
666 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
668 { GROUP
, NETPROP ETHERNET
, KEY_PREFIX NETENT ETHERNET
" (Hardware) Entity Keys", NULL
, NULL
},
670 { SC_10_2
, NETPROP ETHERNET
, MEDIA SUBTYPE
, NULL
, CFSTRING
},
671 { SC_10_2
, NETPROP ETHERNET
, MEDIA OPTIONS
, NULL
, CFARRAY_CFSTRING
},
672 { SC_10_2
, NETPROP ETHERNET
, MTU
, NULL
, CFNUMBER
},
673 { COMMENT
, "", NULL
, NULL
, NULL
},
675 { GROUP_PRIVATE
, NETPROP ETHERNET
, KEY_PREFIX NETENT ETHERNET
" (Hardware) Entity Keys", NULL
, NULL
},
677 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP ETHERNET
, CAPABILITY AV
, AV
, CFNUMBER_BOOL
},
678 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP ETHERNET
, CAPABILITY JUMBO_MTU
, JUMBO_MTU
, CFNUMBER_BOOL
},
679 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP ETHERNET
, CAPABILITY LRO
, LRO
, CFNUMBER_BOOL
},
680 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP ETHERNET
, CAPABILITY RXCSUM
, RXCSUM
, CFNUMBER_BOOL
},
681 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP ETHERNET
, CAPABILITY TSO
, TSO
, CFNUMBER_BOOL
},
682 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP ETHERNET
, CAPABILITY TSO4
, TSO4
, CFNUMBER_BOOL
},
683 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP ETHERNET
, CAPABILITY TSO6
, TSO6
, CFNUMBER_BOOL
},
684 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP ETHERNET
, CAPABILITY TXCSUM
, TXCSUM
, CFNUMBER_BOOL
},
685 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP ETHERNET
, CAPABILITY VLAN_HWTAGGING
, VLAN_HWTAGGING
, CFNUMBER_BOOL
},
686 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP ETHERNET
, CAPABILITY VLAN_MTU
, VLAN_MTU
, CFNUMBER_BOOL
},
687 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
689 { GROUP
, NETPROP FIREWIRE
, KEY_PREFIX NETENT FIREWIRE
" (Hardware) Entity Keys", NULL
, NULL
},
691 { COMMENT
, "* RESERVED FOR FUTURE USE *", NULL
, NULL
, NULL
},
692 { COMMENT
, "", NULL
, NULL
, NULL
},
694 { GROUP
, NETPROP INTERFACE
, KEY_PREFIX NETENT INTERFACE
" Entity Keys", NULL
, NULL
},
696 { SC_10_1
, NETPROP INTERFACE
, DEVICENAME
, NULL
, CFSTRING
},
697 { SC_10_1
, NETPROP INTERFACE
, HARDWARE
, NULL
, CFSTRING
},
698 { SC_10_1
, NETPROP INTERFACE
, TYPE
, NULL
, CFSTRING
},
699 { SC_10_1
, NETPROP INTERFACE
, SUBTYPE
, NULL
, CFSTRING
},
700 { SC_10_2
, NETPROP INTERFACE
, SUPPORTSMODEMONHOLD
, NULL
, CFNUMBER_BOOL
},
701 { COMMENT
, "", NULL
, NULL
, NULL
},
702 { COMMENT
, "--- " KEY_PREFIX NETPROP INTERFACE TYPE
" values ---", NULL
, NULL
, NULL
},
703 { SC_10_1
, NETVAL INTERFACE TYPE
, ETHERNET
, NULL
, NULL
},
704 { SC_10_3
, NETVAL INTERFACE TYPE
, FIREWIRE
, NULL
, NULL
},
705 { SC_10_1
, NETVAL INTERFACE TYPE
, PPP
, NULL
, NULL
},
706 { SC_10_3
, NETVAL INTERFACE TYPE
, STF
, NULL
, NULL
},
707 { SC_10_6_IPHONE_2_0
, NETVAL INTERFACE TYPE
, IPSEC
, NULL
, NULL
},
708 { COMMENT
, "", NULL
, NULL
, NULL
},
709 { COMMENT
, "--- " KEY_PREFIX NETPROP SERVICE SUBTYPE
" values (for " PPP
") ---", NULL
, NULL
, NULL
},
710 { SC_10_1
, NETVAL INTERFACE SUBTYPE
, PPPOE
, NULL
, NULL
},
711 { SC_10_1
, NETVAL INTERFACE SUBTYPE
, PPPSERIAL
, NULL
, NULL
},
712 { SC_10_2
, NETVAL INTERFACE SUBTYPE
, PPTP
, NULL
, NULL
},
713 { SC_10_3
, NETVAL INTERFACE SUBTYPE
, L2TP
, NULL
, NULL
},
714 { COMMENT
, "", NULL
, NULL
, NULL
},
716 { GROUP_PRIVATE
, NETPROP INTERFACE
, KEY_PREFIX NETENT INTERFACE
" Entity Keys", NULL
, NULL
},
718 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP INTERFACE TYPE
" values ---", NULL
, NULL
, NULL
},
719 { SC_10_7_IPHONE_4_0_PRIVATE
, NETVAL INTERFACE TYPE
, LOOPBACK
, NULL
, NULL
},
720 { SC_10_7_IPHONE_4_0_PRIVATE
, NETVAL INTERFACE TYPE
, VPN
, NULL
, NULL
},
721 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
723 { GROUP
, NETPROP IPSEC
, KEY_PREFIX NETENT IPSEC
" Entity Keys", NULL
, NULL
},
725 { SC_10_5
, NETPROP IPSEC
, AUTHENTICATIONMETHOD
, NULL
, CFSTRING
},
726 { SC_10_5
, NETPROP IPSEC
, LOCALCERTIFICATE
, NULL
, CFDATA
},
727 { SC_10_5
, NETPROP IPSEC
, LOCALIDENTIFIER
, NULL
, CFSTRING
},
728 { SC_10_5
, NETPROP IPSEC
, LOCALIDENTIFIER TYPE
, NULL
, CFSTRING
},
729 { SC_10_5
, NETPROP IPSEC
, SHAREDSECRET
, NULL
, CFSTRING
},
730 { SC_10_5
, NETPROP IPSEC
, SHAREDSECRET ENCRYPTION
, NULL
, CFSTRING
},
731 { SC_10_6_IPHONE_2_0
, NETPROP IPSEC
, CONNECTTIME
, NULL
, CFNUMBER
},
732 { SC_10_6_IPHONE_2_0
, NETPROP IPSEC
, REMOTEADDRESS
, NULL
, CFSTRING
},
733 { SC_10_6_IPHONE_2_0
, NETPROP IPSEC
, STATUS
, STATUS
, CFNUMBER
},
734 { SC_10_6_IPHONE_2_0
, NETPROP IPSEC
, XAUTH ENABLED
, NULL
, CFNUMBER_BOOL
},
735 { SC_10_6_IPHONE_2_0
, NETPROP IPSEC
, XAUTH NAME
, NULL
, CFSTRING
},
736 { SC_10_6_IPHONE_2_0
, NETPROP IPSEC
, XAUTH PASSWORD
, NULL
, CFSTRING
},
737 { SC_10_6_IPHONE_2_0
, NETPROP IPSEC
, XAUTH PASSWORD ENCRYPTION
, NULL
, CFSTRING
},
738 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP IPSEC
, DISCONNECTONWAKE
, NULL
, CFNUMBER_BOOL
},
739 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP IPSEC
, DISCONNECTONWAKETIMER
, NULL
, CFNUMBER
},
740 { COMMENT
, "", NULL
, NULL
, NULL
},
741 { COMMENT
, "--- " KEY_PREFIX NETPROP IPSEC AUTHENTICATIONMETHOD
" values ---", NULL
, NULL
, NULL
},
742 { SC_10_5
, NETVAL IPSEC AUTHENTICATIONMETHOD
, SHAREDSECRET
, NULL
, NULL
},
743 { SC_10_5
, NETVAL IPSEC AUTHENTICATIONMETHOD
, CERTIFICATE
, NULL
, NULL
},
744 { SC_10_5
, NETVAL IPSEC AUTHENTICATIONMETHOD
, HYBRID
, NULL
, NULL
},
745 { COMMENT
, "", NULL
, NULL
, NULL
},
746 { COMMENT
, "--- " KEY_PREFIX NETPROP IPSEC LOCALIDENTIFIER TYPE
" values ---", NULL
, NULL
, NULL
},
747 { SC_10_5
, NETVAL IPSEC LOCALIDENTIFIER TYPE
, KEYID
, NULL
, NULL
},
748 { COMMENT
, "", NULL
, NULL
, NULL
},
749 { COMMENT
, "--- " KEY_PREFIX NETPROP IPSEC SHAREDSECRET ENCRYPTION
" values ---", NULL
, NULL
, NULL
},
750 { SC_10_5
, NETVAL IPSEC SHAREDSECRET ENCRYPTION
, KEYCHAIN
, NULL
, NULL
},
751 { COMMENT
, "", NULL
, NULL
, NULL
},
752 { COMMENT
, "--- " KEY_PREFIX NETPROP IPSEC XAUTH PASSWORD ENCRYPTION
" values ---", NULL
, NULL
, NULL
},
753 { SC_10_6_IPHONE_2_0
, NETVAL IPSEC XAUTH PASSWORD ENCRYPTION
, KEYCHAIN
, NULL
, NULL
},
754 { SC_10_6_IPHONE_3_0
, NETVAL IPSEC XAUTH PASSWORD ENCRYPTION
, PROMPT
, NULL
, NULL
},
755 { COMMENT
, "", NULL
, NULL
, NULL
},
757 { GROUP_PRIVATE
, NETPROP IPSEC
, KEY_PREFIX NETENT IPSEC
" Entity Keys", NULL
, NULL
},
759 { SC_10_6_IPHONE_3_0_PRIVATE
, NETPROP IPSEC
, LAST CAUSE
, NULL
, CFNUMBER
},
760 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
761 { COMMENT_PRIVATE
, "--- " ONDEMAND
": ---", NULL
, NULL
, NULL
},
762 { SC_10_6_IPHONE_3_0_PRIVATE
, NETPROP IPSEC
, ONDEMAND ENABLED
, NULL
, CFNUMBER_BOOL
},
763 { SC_10_6_IPHONE_3_0_PRIVATE
, NETPROP IPSEC
, ONDEMAND MATCH DOMAINS ALWAYS
, NULL
, CFARRAY_CFSTRING
},
764 { SC_10_6_IPHONE_3_0_PRIVATE
, NETPROP IPSEC
, ONDEMAND MATCH DOMAINS ONRETRY
, NULL
, CFARRAY_CFSTRING
},
765 { SC_10_6_IPHONE_3_0_PRIVATE
, NETPROP IPSEC
, ONDEMAND MATCH DOMAINS NEVER
, NULL
, CFARRAY_CFSTRING
},
766 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
768 { GROUP
, NETPROP IPV4
, KEY_PREFIX NETENT IPV4
" Entity Keys", NULL
, NULL
},
770 { SC_10_1
, NETPROP IPV4
, ADDRESSES
, NULL
, CFARRAY_CFSTRING
},
771 { SC_10_1
, NETPROP IPV4
, CONFIGMETHOD
, NULL
, CFSTRING
},
772 { SC_10_1
, NETPROP IPV4
, DHCPCLIENTID
, NULL
, CFSTRING
},
773 { SC_10_1
, NETPROP IPV4
, ROUTER
, NULL
, CFSTRING
},
774 { SC_10_1
, NETPROP IPV4
, SUBNETMASKS
, NULL
, CFARRAY_CFSTRING
},
775 { SC_10_1
, NETPROP IPV4
, DEST ADDRESSES
, NULL
, CFARRAY_CFSTRING
},
776 { SC_10_1
, NETPROP IPV4
, BROADCAST ADDRESSES
, NULL
, CFARRAY_CFSTRING
},
777 { COMMENT
, "", NULL
, NULL
, NULL
},
778 { COMMENT
, "--- " KEY_PREFIX NETPROP IPV4 CONFIGMETHOD
" values ---", NULL
, NULL
, NULL
},
779 { SC_10_6_IPHONE_2_0
, NETVAL IPV4 CONFIGMETHOD
, AUTOMATIC
, NULL
, NULL
},
780 { SC_10_1
, NETVAL IPV4 CONFIGMETHOD
, BOOTP
, NULL
, NULL
},
781 { SC_10_1
, NETVAL IPV4 CONFIGMETHOD
, DHCP
, NULL
, NULL
},
782 { SC_10_1
, NETVAL IPV4 CONFIGMETHOD
, INFORM
, NULL
, NULL
},
783 { SC_10_2
, NETVAL IPV4 CONFIGMETHOD
, LINKLOCAL
, NULL
, NULL
},
784 { SC_10_1
, NETVAL IPV4 CONFIGMETHOD
, MANUAL
, NULL
, NULL
},
785 { SC_10_1
, NETVAL IPV4 CONFIGMETHOD
, PPP
, NULL
, NULL
},
786 { COMMENT
, "", NULL
, NULL
, NULL
},
788 { GROUP_PRIVATE
, NETPROP IPV4
, KEY_PREFIX NETENT IPV4
" Entity Keys", NULL
, NULL
},
789 { SC_10_10_IPHONE_8_0_PRIVATE
, NETPROP IPV4
, ADDITIONAL ROUTES
, NULL
, CFARRAY_CFDICTIONARY
},
790 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP IPV4
, EXCLUDED ROUTES
, NULL
, CFARRAY_CFDICTIONARY
},
791 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP IPV4
, INCLUDED ROUTES
, NULL
, CFARRAY_CFDICTIONARY
},
792 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
793 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP IPV4 CONFIGMETHOD
" values ---", NULL
, NULL
, NULL
},
794 { SC_10_5_PRIVATE
, NETVAL IPV4 CONFIGMETHOD
, FAILOVER
, NULL
, NULL
},
795 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
798 KEY_PREFIX NETPROP IPV4 ADDITIONAL ROUTES
", "
799 KEY_PREFIX NETPROP IPV4 EXCLUDED ROUTES
", "
800 KEY_PREFIX NETPROP IPV4 INCLUDED ROUTES
801 " [CFDictionary] keys ---", NULL
, NULL
, NULL
},
802 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP IPV4 ROUTE
, DESTINATION ADDRESS
, NULL
, CFSTRING
},
803 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP IPV4 ROUTE
, SUBNETMASK
, NULL
, CFSTRING
},
804 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP IPV4 ROUTE
, GATEWAY ADDRESS
, NULL
, CFSTRING
},
805 { SC_10_10_IPHONE_8_0_PRIVATE
, NETPROP IPV4 ROUTE
, INTERFACENAME
, NULL
, CFSTRING
},
806 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
807 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP IPV4
, ARP RESOLVED HARDWARE ADDRESS
, NULL
, CFSTRING
},
808 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP IPV4
, ARP RESOLVED IP ADDRESS
, NULL
, CFSTRING
},
809 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
811 { GROUP
, NETPROP IPV6
, KEY_PREFIX NETENT IPV6
" Entity Keys", NULL
, NULL
},
813 { SC_10_1
, NETPROP IPV6
, ADDRESSES
, NULL
, CFARRAY_CFSTRING
},
814 { SC_10_1
, NETPROP IPV6
, CONFIGMETHOD
, NULL
, CFSTRING
},
815 { SC_10_3
, NETPROP IPV6
, DEST ADDRESSES
, NULL
, CFARRAY_CFSTRING
},
816 { SC_10_3
, NETPROP IPV6
, FLAGS
, NULL
, CFNUMBER
},
817 { SC_10_3
, NETPROP IPV6
, PREFIXLENGTH
, NULL
, CFARRAY_CFNUMBER
},
818 { SC_10_3
, NETPROP IPV6
, ROUTER
, NULL
, CFSTRING
},
819 { COMMENT
, "", NULL
, NULL
, NULL
},
820 { COMMENT
, "--- " KEY_PREFIX NETPROP IPV6 CONFIGMETHOD
" values ---", NULL
, NULL
, NULL
},
821 { SC_10_3
, NETVAL IPV6 CONFIGMETHOD
, AUTOMATIC
, NULL
, NULL
},
822 { SC_10_7_IPHONE_4_0
, NETVAL IPV6 CONFIGMETHOD
, LINKLOCAL
, NULL
, NULL
},
823 { SC_10_3
, NETVAL IPV6 CONFIGMETHOD
, MANUAL
, NULL
, NULL
},
824 { SC_10_3
, NETVAL IPV6 CONFIGMETHOD
, ROUTERADVERTISEMENT
, NULL
, NULL
},
825 { SC_10_3
, NETVAL IPV6 CONFIGMETHOD
, STF
, NULL
, NULL
},
826 { COMMENT
, "", NULL
, NULL
, NULL
},
828 { GROUP_PRIVATE
, NETPROP IPV6
, KEY_PREFIX NETENT IPV6
" Entity Keys", NULL
, NULL
},
829 { SC_10_10_IPHONE_8_0_PRIVATE
, NETPROP IPV6
, ADDITIONAL ROUTES
, NULL
, CFARRAY_CFDICTIONARY
},
830 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP IPV6
, EXCLUDED ROUTES
, NULL
, CFARRAY_CFDICTIONARY
},
831 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP IPV6
, INCLUDED ROUTES
, NULL
, CFARRAY_CFDICTIONARY
},
832 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
835 KEY_PREFIX NETPROP IPV6 ADDITIONAL ROUTES
", "
836 KEY_PREFIX NETPROP IPV6 INCLUDED ROUTES
", "
837 KEY_PREFIX NETPROP IPV6 EXCLUDED ROUTES
838 " [CFDictionary] keys ---", NULL
, NULL
, NULL
},
839 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP IPV6 ROUTE
, DESTINATION ADDRESS
, NULL
, CFSTRING
},
840 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP IPV6 ROUTE
, PREFIXLENGTH
, NULL
, CFNUMBER
},
841 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP IPV6 ROUTE
, GATEWAY ADDRESS
, NULL
, CFSTRING
},
842 { SC_10_10_IPHONE_8_0_PRIVATE
, NETPROP IPV6 ROUTE
, INTERFACENAME
, NULL
, CFSTRING
},
843 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
845 { GROUP
, NETPROP STF
, KEY_PREFIX NETENT STF
" Entity Keys", NULL
, NULL
},
847 { SC_10_3
, NETPROP STF
, RELAY
, NULL
, CFSTRING
},
848 { COMMENT
, "", NULL
, NULL
, NULL
},
850 { GROUP
, NETPROP LINK
, KEY_PREFIX NETENT LINK
" Entity Keys", NULL
, NULL
},
852 { SC_10_1
, NETPROP LINK
, ACTIVE
, NULL
, CFBOOLEAN
},
853 { SC_10_2
, NETPROP LINK
, DETACHING
, NULL
, CFBOOLEAN
},
854 { COMMENT
, "", NULL
, NULL
, NULL
},
856 { GROUP_PRIVATE
, NETPROP LINK
, KEY_PREFIX NETENT LINK
" Entity Keys", NULL
, NULL
},
857 { SC_10_10_IPHONE_8_0_PRIVATE
, NETPROP LINK
, EXPENSIVE
, NULL
, CFBOOLEAN
},
858 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
860 { GROUP_PRIVATE
, NETPROP LINK
, KEY_PREFIX NETENT LINKISSUES
" Entity Keys", NULL
, NULL
},
862 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP LINKISSUES
, MODULEID
, NULL
, CFDATA
},
863 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP LINKISSUES
, INFO
, NULL
, CFDATA
},
864 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP LINKISSUES
, TIMESTAMP
, NULL
, CFDATE
},
865 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
867 { GROUP_PRIVATE
, NETPROP LINK
, KEY_PREFIX NETENT LINKQUALITY
" Entity Keys", NULL
, NULL
},
869 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP
, LINKQUALITY
, NULL
, CFNUMBER
},
870 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
872 { GROUP
, NETPROP MODEM
, KEY_PREFIX NETENT MODEM
" (Hardware) Entity Keys", NULL
, NULL
},
874 { SC_10_5
, NETPROP MODEM
, ACCESSPOINTNAME
, NULL
, CFSTRING
},
875 { SC_10_5
, NETPROP MODEM
, CONNECTION PERSONALITY
, NULL
, CFSTRING
},
876 { SC_10_1
, NETPROP MODEM
, CONNECTION SCRIPT
, NULL
, CFSTRING
},
877 { SC_10_2
, NETPROP MODEM
, CONNECTSPEED
, NULL
, CFNUMBER
},
878 { SC_10_1
, NETPROP MODEM
, DATACOMPRESSION
, NULL
, CFNUMBER_BOOL
},
879 { SC_10_5
, NETPROP MODEM
, DEVICE CONTEXTID
, NULL
, CFSTRING
},
880 { SC_10_5
, NETPROP MODEM
, DEVICE MODEL
, NULL
, CFSTRING
},
881 { SC_10_5
, NETPROP MODEM
, DEVICE VENDOR
, NULL
, CFSTRING
},
882 { SC_10_1
, NETPROP MODEM
, DIALMODE
, NULL
, CFSTRING
},
883 { SC_10_1
, NETPROP MODEM
, ERRORCORRECTION
, NULL
, CFNUMBER_BOOL
},
884 { SC_10_2
, NETPROP MODEM
, HOLD CALLWAITINGAUDIBLEALERT
, NULL
, CFNUMBER_BOOL
},
885 { SC_10_2
, NETPROP MODEM
, HOLD DISCONNECTONANSWER
, NULL
, CFNUMBER_BOOL
},
886 { SC_10_2
, NETPROP MODEM
, HOLD ENABLED
, NULL
, CFNUMBER_BOOL
},
887 { SC_10_2
, NETPROP MODEM
, HOLD REMINDER
, NULL
, CFNUMBER_BOOL
},
888 { SC_10_2
, NETPROP MODEM
, HOLD REMINDERTIME
, NULL
, CFNUMBER
},
889 { SC_10_2
, NETPROP MODEM
, NOTE
, NULL
, CFSTRING
},
890 { SC_10_1
, NETPROP MODEM
, PULSEDIAL
, NULL
, CFNUMBER_BOOL
},
891 { SC_10_1
, NETPROP MODEM
, SPEAKER
, NULL
, CFNUMBER_BOOL
},
892 { SC_10_1
, NETPROP MODEM
, SPEED
, NULL
, CFNUMBER
},
893 { COMMENT
, "", NULL
, NULL
, NULL
},
894 { COMMENT
, "--- " KEY_PREFIX NETPROP MODEM DIALMODE
" values ---", NULL
, NULL
, NULL
},
895 { SC_10_1
, NETVAL MODEM DIALMODE
, IGNOREDIALTONE
, NULL
, NULL
},
896 { SC_10_1
, NETVAL MODEM DIALMODE
, MANUAL
, NULL
, NULL
},
897 { SC_10_1
, NETVAL MODEM DIALMODE
, WAITFORDIALTONE
, NULL
, NULL
},
898 { COMMENT
, "", NULL
, NULL
, NULL
},
900 { GROUP_DEPRECATED
, NETPROP NETINFO
, KEY_PREFIX NETENT NETINFO
" Entity Keys", NULL
, NULL
},
902 { DEFINE
, "#if", "!TARGET_OS_IPHONE", NULL
, NULL
},
903 { SC_10_1_10_5
, NETPROP NETINFO
, BINDINGMETHODS
, NULL
, CFSTRING
},
904 { SC_10_1_10_5
, NETPROP NETINFO
, SERVER ADDRESSES
, NULL
, CFARRAY_CFSTRING
},
905 { SC_10_1_10_5
, NETPROP NETINFO
, SERVER TAGS
, NULL
, CFARRAY_CFSTRING
},
906 { SC_10_1_10_5
, NETPROP NETINFO
, BROADCAST SERVER TAG
, NULL
, CFSTRING
},
907 { COMMENT_DEPRECATED
, "", NULL
, NULL
, NULL
},
908 { COMMENT_DEPRECATED
, "--- " KEY_PREFIX NETPROP NETINFO BINDINGMETHODS
" values ---", NULL
, NULL
, NULL
},
909 { SC_10_1_10_5
, NETVAL NETINFO BINDINGMETHODS
, BROADCAST
, NULL
, NULL
},
910 { SC_10_1_10_5
, NETVAL NETINFO BINDINGMETHODS
, DHCP
, NULL
, NULL
},
911 { SC_10_1_10_5
, NETVAL NETINFO BINDINGMETHODS
, MANUAL
, NULL
, NULL
},
912 { COMMENT_DEPRECATED
, "", NULL
, NULL
, NULL
},
913 { COMMENT_DEPRECATED
, "--- " KEY_PREFIX NETPROP NETINFO BROADCAST SERVER TAG
" default value ---", NULL
, NULL
, NULL
},
914 { SC_10_1_10_5
, NETVAL NETINFO
, DEFAULT SERVER TAG
, "network", NULL
},
915 { DEFINE
, "#endif", "// !TARGET_OS_IPHONE", NULL
, NULL
},
916 { COMMENT_DEPRECATED
, "", NULL
, NULL
, NULL
},
918 { GROUP
, NETPROP PPP
, KEY_PREFIX NETENT PPP
" Entity Keys", NULL
, NULL
},
920 { SC_10_3
, NETPROP PPP
, ACSP ENABLED
, NULL
, CFNUMBER_BOOL
},
921 { SC_10_2
, NETPROP PPP
, CONNECTTIME
, NULL
, CFNUMBER
},
922 { SC_10_2
, NETPROP PPP
, DEVICE LAST CAUSE
, NULL
, CFNUMBER
},
923 { SC_10_1
, NETPROP PPP
, DIALONDEMAND
, NULL
, CFNUMBER_BOOL
},
924 { SC_10_4
, NETPROP PPP
, DISCONNECTONFASTUSERSWITCH
, NULL
, CFNUMBER_BOOL
},
925 { SC_10_1
, NETPROP PPP
, DISCONNECTONIDLE
, NULL
, CFNUMBER_BOOL
},
926 { SC_10_1
, NETPROP PPP
, DISCONNECTONIDLETIMER
, NULL
, CFNUMBER
},
927 { SC_10_1
, NETPROP PPP
, DISCONNECTONLOGOUT
, NULL
, CFNUMBER_BOOL
},
928 { SC_10_2
, NETPROP PPP
, DISCONNECTONSLEEP
, NULL
, CFNUMBER_BOOL
},
929 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP PPP
, DISCONNECTONWAKE
, NULL
, CFNUMBER_BOOL
},
930 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP PPP
, DISCONNECTONWAKETIMER
, NULL
, CFNUMBER
},
931 { SC_10_3
, NETPROP PPP
, DISCONNECTTIME
, NULL
, CFNUMBER
},
932 { SC_10_1
, NETPROP PPP
, IDLEREMINDERTIMER
, NULL
, CFNUMBER
},
933 { SC_10_1
, NETPROP PPP
, IDLEREMINDER
, NULL
, CFNUMBER_BOOL
},
934 { SC_10_2
, NETPROP PPP
, LAST CAUSE
, NULL
, CFNUMBER
},
935 { SC_10_1
, NETPROP PPP
, LOGFILE
, NULL
, CFSTRING
},
936 { SC_10_2
, NETPROP PPP
, PLUGINS
, NULL
, CFARRAY_CFSTRING
},
937 { SC_10_3
, NETPROP PPP
, RETRYCONNECTTIME
, NULL
, CFNUMBER
},
938 { SC_10_1
, NETPROP PPP
, SESSIONTIMER
, NULL
, CFNUMBER
},
939 { SC_10_2
, NETPROP PPP
, STATUS
, NULL
, CFNUMBER
},
940 { SC_10_2
, NETPROP PPP
, USE SESSIONTIMER
, NULL
, CFNUMBER_BOOL
},
941 { SC_10_1
, NETPROP PPP
, VERBOSELOGGING
, NULL
, CFNUMBER_BOOL
},
942 { COMMENT
, "", NULL
, NULL
, NULL
},
944 { COMMENT
, "--- " AUTH
": ---", NULL
, NULL
, NULL
},
945 { SC_10_3
, NETPROP PPP
, AUTH EAP PLUGINS
, NULL
, CFARRAY_CFSTRING
},
946 { SC_10_1
, NETPROP PPP
, AUTH NAME
, NULL
, CFSTRING
},
947 { SC_10_1
, NETPROP PPP
, AUTH PASSWORD
, NULL
, CFSTRING
},
948 { SC_10_1
, NETPROP PPP
, AUTH PASSWORD ENCRYPTION
, NULL
, CFSTRING
},
949 { SC_10_3
, NETPROP PPP
, AUTH PROMPT
, NULL
, CFSTRING
},
950 { SC_10_1
, NETPROP PPP
, AUTH PROTOCOL
, NULL
, CFARRAY_CFSTRING
},
951 { COMMENT
, "", NULL
, NULL
, NULL
},
952 { COMMENT
, "--- " KEY_PREFIX NETPROP PPP AUTH PASSWORD ENCRYPTION
" values ---", NULL
, NULL
, NULL
},
953 { SC_10_3
, NETVAL PPP AUTH PASSWORD ENCRYPTION
, KEYCHAIN
, NULL
, NULL
},
954 { SC_10_5
, NETVAL PPP AUTH PASSWORD ENCRYPTION
, TOKEN
, NULL
, NULL
},
955 { COMMENT
, "", NULL
, NULL
, NULL
},
956 { COMMENT
, "--- " KEY_PREFIX NETPROP PPP AUTH PROMPT
" values ---", NULL
, NULL
, NULL
},
957 { SC_10_3
, NETVAL PPP AUTH PROMPT
, BEFORE
, NULL
, CFSTRING
},
958 { SC_10_3
, NETVAL PPP AUTH PROMPT
, AFTER
, NULL
, CFSTRING
},
959 { COMMENT
, "", NULL
, NULL
, NULL
},
960 { COMMENT
, "--- " KEY_PREFIX NETPROP PPP AUTH PROTOCOL
" values ---", NULL
, NULL
, NULL
},
961 { SC_10_1
, NETVAL PPP AUTH PROTOCOL
, CHAP
, NULL
, CFSTRING
},
962 { SC_10_3
, NETVAL PPP AUTH PROTOCOL
, EAP
, NULL
, CFSTRING
},
963 { SC_10_3
, NETVAL PPP AUTH PROTOCOL
, MSCHAP1
, NULL
, CFSTRING
},
964 { SC_10_3
, NETVAL PPP AUTH PROTOCOL
, MSCHAP2
, NULL
, CFSTRING
},
965 { SC_10_1
, NETVAL PPP AUTH PROTOCOL
, PAP
, NULL
, CFSTRING
},
966 { COMMENT
, "", NULL
, NULL
, NULL
},
968 { COMMENT
, "--- " COMM
": ---", NULL
, NULL
, NULL
},
969 { SC_10_1
, NETPROP PPP
, COMM ALTERNATE REMOTEADDRESS
, NULL
, CFSTRING
},
970 { SC_10_1
, NETPROP PPP
, COMM CONNECTDELAY
, NULL
, CFNUMBER
},
971 { SC_10_1
, NETPROP PPP
, COMM DISPLAYTERMINALWINDOW
, NULL
, CFNUMBER_BOOL
},
972 { SC_10_1
, NETPROP PPP
, COMM REDIALCOUNT
, NULL
, CFNUMBER
},
973 { SC_10_1
, NETPROP PPP
, COMM REDIAL ENABLED
, NULL
, CFNUMBER_BOOL
},
974 { SC_10_1
, NETPROP PPP
, COMM REDIALINTERVAL
, NULL
, CFNUMBER
},
975 { SC_10_1
, NETPROP PPP
, COMM REMOTEADDRESS
, NULL
, CFSTRING
},
976 { SC_10_1
, NETPROP PPP
, COMM TERMINALSCRIPT
, NULL
, CFSTRING
},
977 { SC_10_2
, NETPROP PPP
, COMM USE TERMINALSCRIPT
, NULL
, CFNUMBER_BOOL
},
978 { COMMENT
, "", NULL
, NULL
, NULL
},
980 { COMMENT
, "--- " CCP
": ---", NULL
, NULL
, NULL
},
981 { SC_10_2
, NETPROP PPP
, CCP ENABLED
, NULL
, CFNUMBER_BOOL
},
982 { SC_10_4
, NETPROP PPP
, CCP MPPE40 ENABLED
, NULL
, CFNUMBER_BOOL
},
983 { SC_10_4
, NETPROP PPP
, CCP MPPE128 ENABLED
, NULL
, CFNUMBER_BOOL
},
984 { COMMENT
, "", NULL
, NULL
, NULL
},
986 { COMMENT
, "--- " IPCP
": ---", NULL
, NULL
, NULL
},
987 { SC_10_1
, NETPROP PPP
, IPCP COMPRESSIONVJ
, NULL
, CFNUMBER_BOOL
},
988 { SC_10_4
, NETPROP PPP
, IPCP USE PEER DNS
, NULL
, CFNUMBER_BOOL
},
989 { COMMENT
, "", NULL
, NULL
, NULL
},
991 { COMMENT
, "--- " LCP
": ---", NULL
, NULL
, NULL
},
992 { SC_10_1
, NETPROP PPP
, LCP ECHO ENABLED
, NULL
, CFNUMBER_BOOL
},
993 { SC_10_1
, NETPROP PPP
, LCP ECHOFAILURE
, NULL
, CFNUMBER
},
994 { SC_10_1
, NETPROP PPP
, LCP ECHOINTERVAL
, NULL
, CFNUMBER
},
995 { SC_10_1
, NETPROP PPP
, LCP COMPRESSIONACFIELD
, NULL
, CFNUMBER_BOOL
},
996 { SC_10_1
, NETPROP PPP
, LCP COMPRESSIONPFIELD
, NULL
, CFNUMBER_BOOL
},
997 { SC_10_1
, NETPROP PPP
, LCP MRU
, NULL
, CFNUMBER
},
998 { SC_10_1
, NETPROP PPP
, LCP MTU
, NULL
, CFNUMBER
},
999 { SC_10_1
, NETPROP PPP
, LCP RECEIVEACCM
, NULL
, CFNUMBER
},
1000 { SC_10_1
, NETPROP PPP
, LCP TRANSMITACCM
, NULL
, CFNUMBER
},
1001 { COMMENT
, "", NULL
, NULL
, NULL
},
1003 { GROUP_PRIVATE
, NETPROP PPP
, KEY_PREFIX NETENT PPP
" Entity Keys", NULL
, NULL
},
1005 { COMMENT_PRIVATE
, "--- " ONDEMAND
": ---", NULL
, NULL
, NULL
},
1006 { SC_10_5_PRIVATE
, NETPROP PPP
, ONDEMAND DOMAINS
, NULL
, CFARRAY_CFSTRING
},
1007 { SC_10_5_PRIVATE
, NETPROP PPP
, ONDEMAND ENABLED
, NULL
, CFNUMBER_BOOL
},
1008 { SC_10_5_PRIVATE
, NETPROP PPP
, ONDEMAND HOSTNAME
, NULL
, CFSTRING
}, // DEPRECATED, use kSCNetworkConnectionSelectionOptionOnDemandHostName
1009 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP PPP
, ONDEMAND MATCH DOMAINS ALWAYS
, NULL
, CFARRAY_CFSTRING
},
1010 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP PPP
, ONDEMAND MATCH DOMAINS ONRETRY
, NULL
, CFARRAY_CFSTRING
},
1011 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP PPP
, ONDEMAND MATCH DOMAINS NEVER
, NULL
, CFARRAY_CFSTRING
},
1012 { SC_10_5_PRIVATE
, NETPROP PPP
, ONDEMAND MODE
, NULL
, CFSTRING
},
1013 { SC_10_5_PRIVATE
, NETPROP PPP
, ONDEMAND PRIORITY
, NULL
, CFSTRING
},
1014 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1015 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP PPP ONDEMAND MODE
" values ---", NULL
, NULL
, NULL
},
1016 { SC_10_5_PRIVATE
, NETVAL PPP ONDEMAND MODE
, AGGRESSIVE
, NULL
, NULL
},
1017 { SC_10_5_PRIVATE
, NETVAL PPP ONDEMAND MODE
, CONSERVATIVE
, NULL
, NULL
},
1018 { SC_10_5_PRIVATE
, NETVAL PPP ONDEMAND MODE
, COMPATIBLE
, NULL
, NULL
},
1019 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1020 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP PPP ONDEMAND PRIORITY
" values ---", NULL
, NULL
, NULL
},
1021 { SC_10_5_PRIVATE
, NETVAL PPP ONDEMAND PRIORITY
, DEFAULT
, NULL
, NULL
},
1022 { SC_10_5_PRIVATE
, NETVAL PPP ONDEMAND PRIORITY
, HIGH
, NULL
, NULL
},
1023 { SC_10_5_PRIVATE
, NETVAL PPP ONDEMAND PRIORITY
, LOW
, NULL
, NULL
},
1024 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1026 { GROUP
, NETPROP PPPOE
, KEY_PREFIX NETENT PPPOE
" Entity Keys", NULL
, NULL
},
1028 { COMMENT
, "* RESERVED FOR FUTURE USE *", NULL
, NULL
, NULL
},
1029 { COMMENT
, "", NULL
, NULL
, NULL
},
1031 { GROUP
, NETPROP PPPSERIAL
, KEY_PREFIX NETENT PPPSERIAL
" Entity Keys", NULL
, NULL
},
1033 { COMMENT
, "* RESERVED FOR FUTURE USE *", NULL
, NULL
, NULL
},
1034 { COMMENT
, "", NULL
, NULL
, NULL
},
1036 { GROUP
, NETPROP PPTP
, KEY_PREFIX NETENT PPTP
" Entity Keys", NULL
, NULL
},
1038 { COMMENT
, "* RESERVED FOR FUTURE USE *", NULL
, NULL
, NULL
},
1039 { COMMENT
, "", NULL
, NULL
, NULL
},
1041 { GROUP
, NETPROP L2TP
, KEY_PREFIX NETENT L2TP
" Entity Keys", NULL
, NULL
},
1043 { SC_10_3
, NETPROP L2TP
, IPSEC SHAREDSECRET
, NULL
, CFSTRING
},
1044 { SC_10_3
, NETPROP L2TP
, IPSEC SHAREDSECRET ENCRYPTION
, NULL
, CFSTRING
},
1045 { SC_10_3
, NETPROP L2TP
, TRANSPORT
, NULL
, CFSTRING
},
1046 { COMMENT
, "", NULL
, NULL
, NULL
},
1047 { COMMENT
, "--- " KEY_PREFIX NETPROP L2TP IPSEC SHAREDSECRET ENCRYPTION
" values ---", NULL
, NULL
, NULL
},
1048 { SC_10_3
, NETVAL L2TP IPSEC SHAREDSECRET ENCRYPTION
, KEYCHAIN
, NULL
, NULL
},
1049 { COMMENT
, "", NULL
, NULL
, NULL
},
1050 { COMMENT
, "--- " KEY_PREFIX NETPROP L2TP TRANSPORT
" values ---", NULL
, NULL
, NULL
},
1051 { SC_10_3
, NETVAL L2TP TRANSPORT
, IP
, NULL
, NULL
},
1052 { SC_10_3
, NETVAL L2TP TRANSPORT
, IPSEC
, NULL
, NULL
},
1053 { COMMENT
, "", NULL
, NULL
, NULL
},
1055 { GROUP
, NETPROP PROXIES
, KEY_PREFIX NETENT PROXIES
" Entity Keys", NULL
, NULL
},
1057 { SC_10_1
, NETPROP PROXIES
, EXCEPTIONSLIST
, NULL
, CFARRAY_CFSTRING
},
1058 { SC_10_4
, NETPROP PROXIES
, EXCLUDESIMPLEHOSTNAMES
, NULL
, CFNUMBER_BOOL
},
1059 { SC_10_1
, NETPROP PROXIES
, FTP ENABLE
, NULL
, CFNUMBER_BOOL
},
1060 { SC_10_1
, NETPROP PROXIES
, FTP PASSIVE
, NULL
, CFNUMBER_BOOL
},
1061 { SC_10_1
, NETPROP PROXIES
, FTP PORT
, NULL
, CFNUMBER
},
1062 { SC_10_1
, NETPROP PROXIES
, FTP PROXY
, NULL
, CFSTRING
},
1063 { SC_10_1
, NETPROP PROXIES
, GOPHER ENABLE
, NULL
, CFNUMBER_BOOL
},
1064 { SC_10_1
, NETPROP PROXIES
, GOPHER PORT
, NULL
, CFNUMBER
},
1065 { SC_10_1
, NETPROP PROXIES
, GOPHER PROXY
, NULL
, CFSTRING
},
1066 { SC_10_1
, NETPROP PROXIES
, HTTP ENABLE
, NULL
, CFNUMBER_BOOL
},
1067 { SC_10_1
, NETPROP PROXIES
, HTTP PORT
, NULL
, CFNUMBER
},
1068 { SC_10_1
, NETPROP PROXIES
, HTTP PROXY
, NULL
, CFSTRING
},
1069 { SC_10_1
, NETPROP PROXIES
, HTTPS ENABLE
, NULL
, CFNUMBER_BOOL
},
1070 { SC_10_1
, NETPROP PROXIES
, HTTPS PORT
, NULL
, CFNUMBER
},
1071 { SC_10_1
, NETPROP PROXIES
, HTTPS PROXY
, NULL
, CFSTRING
},
1072 { SC_10_1
, NETPROP PROXIES
, RTSP ENABLE
, NULL
, CFNUMBER_BOOL
},
1073 { SC_10_1
, NETPROP PROXIES
, RTSP PORT
, NULL
, CFNUMBER
},
1074 { SC_10_1
, NETPROP PROXIES
, RTSP PROXY
, NULL
, CFSTRING
},
1075 { SC_10_1
, NETPROP PROXIES
, SOCKS ENABLE
, NULL
, CFNUMBER_BOOL
},
1076 { SC_10_1
, NETPROP PROXIES
, SOCKS PORT
, NULL
, CFNUMBER
},
1077 { SC_10_1
, NETPROP PROXIES
, SOCKS PROXY
, NULL
, CFSTRING
},
1078 { SC_10_4
, NETPROP PROXIES
, PROXY AUTOCONFIG ENABLE
, NULL
, CFNUMBER_BOOL
},
1079 { SC_10_7_IPHONE_4_0
, NETPROP PROXIES
, PROXY AUTOCONFIG JAVASCRIPT
, NULL
, CFSTRING
},
1080 { SC_10_4
, NETPROP PROXIES
, PROXY AUTOCONFIG URLSTRING
, NULL
, CFSTRING
},
1081 { SC_10_4
, NETPROP PROXIES
, PROXY AUTODISCOVERY ENABLE
, NULL
, CFNUMBER_BOOL
},
1082 { COMMENT
, "", NULL
, NULL
, NULL
},
1084 { GROUP_PRIVATE
, NETPROP PROXIES
, KEY_PREFIX NETENT PROXIES
" Entity Keys", NULL
, NULL
},
1086 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP PROXIES
, BYPASS ALLOWED
, NULL
, CFNUMBER_BOOL
},
1087 { SC_10_9_IPHONE_6_0_PRIVATE
, NETPROP PROXIES
, FALLBACK ALLOWED
, NULL
, CFNUMBER_BOOL
},
1088 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP PROXIES
, SUPPLEMENTAL MATCH DOMAINS
, NULL
, CFARRAY_CFSTRING
},
1089 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP PROXIES
, SUPPLEMENTAL MATCH ORDERS
, NULL
, CFARRAY_CFNUMBER
},
1090 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1091 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP PROXIES
, SCOPED
, "__SCOPED__", CFDICTIONARY
},
1092 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP PROXIES
, SERVICES
, "__SERVICES__", CFDICTIONARY
},
1093 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP PROXIES
, SUPPLEMENTAL
, "__SUPPLEMENTAL__", CFARRAY_CFDICTIONARY
},
1094 { SC_10_7_IPHONE_5_0_PRIVATE
, NETPROP PROXIES
, SUPPLEMENTAL MATCH DOMAIN
, "__MATCH_DOMAIN__", CFSTRING
},
1095 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1097 { GROUP_PRIVATE
, NETPROP SERVICE
, KEY_PREFIX NETENT SERVICE
" Entity Keys", NULL
, NULL
},
1099 { SC_10_6_IPHONE_2_0_PRIVATE
, NETPROP SERVICE
, PRIMARYRANK
, NULL
, CFSTRING
},
1100 { SC_10_6_IPHONE_2_0_PRIVATE
, NETPROP SERVICE
, USERDEFINEDNAME
, NULL
, CFSTRING
},
1101 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1102 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP SERVICE PRIMARYRANK
" values ---", NULL
, NULL
, NULL
},
1103 { SC_10_6_IPHONE_2_0_PRIVATE
, NETVAL SERVICE PRIMARYRANK
, FIRST
, NULL
},
1104 { SC_10_6_IPHONE_2_0_PRIVATE
, NETVAL SERVICE PRIMARYRANK
, LAST
, NULL
},
1105 { SC_10_6_IPHONE_2_0_PRIVATE
, NETVAL SERVICE PRIMARYRANK
, NEVER
, NULL
},
1106 { SC_10_10_IPHONE_8_0_PRIVATE
, NETVAL SERVICE PRIMARYRANK
, SCOPED
, NULL
},
1107 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1109 { GROUP
, NETPROP SMB
, KEY_PREFIX NETENT SMB
" Entity Keys", NULL
, NULL
},
1111 { DEFINE
, "#if", "!TARGET_OS_IPHONE", NULL
, NULL
},
1112 { SC_10_5
, NETPROP SMB
, NETBIOS NAME
, NULL
, CFSTRING
},
1113 { SC_10_5
, NETPROP SMB
, NETBIOS NODE TYPE
, NULL
, CFSTRING
},
1114 { SC_10_5_10_7
, NETPROP SMB
, NETBIOS SCOPE
, NULL
, CFSTRING
},
1115 { SC_10_5
, NETPROP SMB
, WINS ADDRESSES
, NULL
, CFARRAY_CFSTRING
},
1116 { SC_10_5
, NETPROP SMB
, WORKGROUP
, NULL
, CFSTRING
},
1117 { COMMENT
, "", NULL
, NULL
, NULL
},
1118 { COMMENT
, "--- " KEY_PREFIX NETPROP SMB NETBIOS NODE TYPE
" values ---", NULL
, NULL
, NULL
},
1119 { SC_10_5
, NETVAL SMB NETBIOS NODE TYPE
, BROADCAST
, NULL
},
1120 { SC_10_5
, NETVAL SMB NETBIOS NODE TYPE
, PEER
, NULL
},
1121 { SC_10_5
, NETVAL SMB NETBIOS NODE TYPE
, MIXED
, NULL
},
1122 { SC_10_5
, NETVAL SMB NETBIOS NODE TYPE
, HYBRID
, NULL
},
1123 { DEFINE
, "#endif", "// !TARGET_OS_IPHONE", NULL
, NULL
},
1124 { COMMENT
, "", NULL
, NULL
, NULL
},
1126 { GROUP_PRIVATE
, NETPROP VPN
, KEY_PREFIX NETENT VPN
" Entity Keys", NULL
, NULL
},
1128 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN
, APP RULES
, NULL
, CFARRAY_CFDICTIONARY
},
1129 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN
, AUTH CREDENTIAL PASSWORD
, NULL
, CFSTRING
},
1130 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, AUTH NAME
, NULL
, CFSTRING
},
1131 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, AUTH PASSWORD
, NULL
, CFSTRING
},
1132 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, AUTH PASSWORD ENCRYPTION
, NULL
, CFSTRING
},
1133 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN
, AUTH PASSWORD PLUGIN TYPE
, NULL
, CFSTRING
},
1134 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, AUTHENTICATIONMETHOD
, NULL
, CFSTRING
},
1135 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, CONNECTTIME
, NULL
, CFSTRING
},
1136 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, DISCONNECTONFASTUSERSWITCH
, NULL
, CFNUMBER_BOOL
},
1137 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, DISCONNECTONIDLE
, NULL
, CFNUMBER_BOOL
},
1138 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, DISCONNECTONIDLETIMER
, NULL
, CFNUMBER
},
1139 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, DISCONNECTONLOGOUT
, NULL
, CFNUMBER_BOOL
},
1140 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, DISCONNECTONSLEEP
, NULL
, CFNUMBER_BOOL
},
1141 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN
, DISCONNECTONWAKE
, NULL
, CFNUMBER_BOOL
},
1142 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN
, DISCONNECTONWAKETIMER
, NULL
, CFNUMBER
},
1143 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, LOCALCERTIFICATE
, NULL
, CFDATA
},
1144 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, LOGFILE
, NULL
, CFSTRING
},
1145 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, MTU
, NULL
, CFNUMBER
},
1146 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, ONDEMAND ENABLED
, NULL
, CFNUMBER_BOOL
},
1147 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN
, ONDEMAND MATCH APP ENABLED
, NULL
, CFBOOLEAN
},
1148 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, ONDEMAND MATCH DOMAINS ALWAYS
, NULL
, CFARRAY_CFSTRING
},
1149 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, ONDEMAND MATCH DOMAINS ONRETRY
, NULL
, CFARRAY_CFSTRING
},
1150 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, ONDEMAND MATCH DOMAINS NEVER
, NULL
, CFARRAY_CFSTRING
},
1151 { SC_10_8_IPHONE_6_0_PRIVATE
, NETPROP VPN
, ONDEMAND RULES
, NULL
, CFARRAY_CFDICTIONARY
},
1152 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN
, ONDEMAND SUSPENDED
, NULL
, CFNUMBER
},
1153 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN
, PLUGIN CAPABILITY
, NULL
, CFSTRING
},
1154 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, REMOTEADDRESS
, NULL
, CFSTRING
},
1155 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, STATUS
, NULL
, CFNUMBER
},
1156 { SC_10_7_IPHONE_4_0_PRIVATE
, NETPROP VPN
, VERBOSELOGGING
, NULL
, CFNUMBER_BOOL
},
1157 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1158 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP VPN APP RULES
" [CFDictionary] keys ---", NULL
, NULL
, NULL
},
1159 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN APP RULE
, ACCOUNT IDENTIFIER MATCH
, NULL
, CFARRAY_CFSTRING
},
1160 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN APP RULE
, DNS DOMAIN MATCH
, NULL
, CFARRAY_CFSTRING
},
1161 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN APP RULE
, EXECUTABLE MATCH
, NULL
, CFARRAY_CFDICTIONARY
},
1162 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN APP RULE
, IDENTIFIER
, NULL
, CFSTRING
},
1163 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1164 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETVAL VPN APP RULE EXECUTABLE MATCH
" [CFDictionary] keys ---", NULL
, NULL
, NULL
},
1165 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN APP RULE EXECUTABLE
, DESIGNATED REQUIREMENT
, NULL
, CFSTRING
},
1166 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN APP RULE EXECUTABLE
, SIGNING IDENTIFIER
, NULL
, CFSTRING
},
1167 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN APP RULE EXECUTABLE
, UUID
, NULL
, CFSTRING
},
1168 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1169 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP VPN AUTHENTICATIONMETHOD
" values ---", NULL
, NULL
, NULL
},
1170 { SC_10_7_IPHONE_4_0_PRIVATE
, NETVAL VPN AUTHENTICATIONMETHOD
, PASSWORD
, NULL
, NULL
},
1171 { SC_10_7_IPHONE_4_0_PRIVATE
, NETVAL VPN AUTHENTICATIONMETHOD
, CERTIFICATE
, NULL
, NULL
},
1172 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1173 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP VPN AUTH PASSWORD ENCRYPTION
" values ---", NULL
, NULL
, NULL
},
1174 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN AUTH PASSWORD ENCRYPTION
, EXTERNAL
, NULL
, NULL
},
1175 { SC_10_7_IPHONE_4_0_PRIVATE
, NETVAL VPN AUTH PASSWORD ENCRYPTION
, KEYCHAIN
, NULL
, NULL
},
1176 { SC_10_7_IPHONE_4_0_PRIVATE
, NETVAL VPN AUTH PASSWORD ENCRYPTION
, PROMPT
, NULL
, NULL
},
1177 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1178 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP VPN ONDEMAND RULES
" [CFDictionary] keys ---", NULL
, NULL
, NULL
},
1179 { SC_10_8_IPHONE_6_0_PRIVATE
, NETPROP VPN ONDEMAND RULE
, ACTION
, NULL
, CFSTRING
},
1180 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN ONDEMAND RULE
, ACTION PARAMETERS
, NULL
, CFARRAY_CFDICTIONARY
},
1181 { SC_10_8_IPHONE_6_0_PRIVATE
, NETPROP VPN ONDEMAND RULE
, DNS DOMAIN MATCH
, NULL
, CFARRAY_CFSTRING
},
1182 { SC_10_8_IPHONE_6_0_PRIVATE
, NETPROP VPN ONDEMAND RULE
, DNS SERVER ADDRESS MATCH
, NULL
, CFARRAY_CFSTRING
},
1183 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN ONDEMAND RULE
, SSID MATCH
, NULL
, CFARRAY_CFSTRING
},
1184 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN ONDEMAND RULE
, INTERFACE TYPE MATCH
, NULL
, CFSTRING
},
1185 { SC_10_8_IPHONE_6_0_PRIVATE
, NETPROP VPN ONDEMAND RULE
, URLSTRING PROBE
, NULL
, CFSTRING
},
1186 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1187 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP VPN ONDEMAND RULE ACTION
" values ---", NULL
, NULL
, NULL
},
1188 { SC_10_8_IPHONE_6_0_PRIVATE
, NETVAL VPN ONDEMAND RULE ACTION
, ALLOW
, NULL
, NULL
},
1189 { SC_10_8_IPHONE_6_0_PRIVATE
, NETVAL VPN ONDEMAND RULE ACTION
, IGNORE
, NULL
, NULL
},
1190 { SC_10_8_IPHONE_6_0_PRIVATE
, NETVAL VPN ONDEMAND RULE ACTION
, CONNECT
, NULL
, NULL
},
1191 { SC_10_8_IPHONE_6_0_PRIVATE
, NETVAL VPN ONDEMAND RULE ACTION
, DISCONNECT
, NULL
, NULL
},
1192 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN ONDEMAND RULE ACTION
, EVALUATE CONNECTION
, NULL
, NULL
},
1193 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1194 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP VPN ONDEMAND RULE ACTION PARAMETERS
" [CFDictionary] keys ---", NULL
, NULL
, NULL
},
1195 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN ONDEMAND RULE ACTION PARAMETERS
, DOMAIN ACTION
, NULL
, CFSTRING
},
1196 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN ONDEMAND RULE ACTION PARAMETERS
, DOMAINS
, NULL
, CFARRAY_CFSTRING
},
1197 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN ONDEMAND RULE ACTION PARAMETERS
, REQUIRED DNS SERVERS
, NULL
, CFARRAY_CFSTRING
},
1198 { SC_10_9_IPHONE_7_0_PRIVATE
, NETPROP VPN ONDEMAND RULE ACTION PARAMETERS
, REQUIRED URLSTRING PROBE
, NULL
, CFSTRING
},
1199 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1200 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP VPN ONDEMAND RULE ACTION PARAMETERS DOMAIN ACTION
" values ---", NULL
, NULL
, NULL
},
1201 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN ONDEMAND RULE ACTION PARAMETERS DOMAIN ACTION
, CONNECT IFNEEDED
, NULL
, NULL
},
1202 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN ONDEMAND RULE ACTION PARAMETERS DOMAIN ACTION
, NEVER CONNECT
, NULL
, NULL
},
1203 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1204 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP VPN ONDEMAND RULE INTERFACE TYPE MATCH
" values ---", NULL
, NULL
, NULL
},
1205 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN ONDEMAND RULE INTERFACE TYPE MATCH
, ETHERNET
, NULL
, NULL
},
1206 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN ONDEMAND RULE INTERFACE TYPE MATCH
, WIFI
, NULL
, NULL
},
1207 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1208 { COMMENT_PRIVATE
, "--- " KEY_PREFIX NETPROP VPN PLUGIN CAPABILITY
" values ---", NULL
, NULL
, NULL
},
1209 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN PLUGIN CAPABILITY
, AUTH
, NULL
, NULL
},
1210 { SC_10_9_IPHONE_7_0_PRIVATE
, NETVAL VPN PLUGIN CAPABILITY
, CONNECT
, NULL
, NULL
},
1211 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1213 { GROUP
, USERSENT CONSOLEUSER
, KEY_PREFIX COMP USERS
" Entity Keys", NULL
, NULL
},
1215 { DEFINE
, "#if", "!TARGET_OS_IPHONE", NULL
, NULL
},
1216 { SC_10_1
, USERSENT
, CONSOLEUSER
, NULL
, NULL
},
1217 { DEFINE
, "#endif", "// !TARGET_OS_IPHONE", NULL
, NULL
},
1218 { COMMENT
, "", NULL
, NULL
, NULL
},
1220 { GROUP
, SYSTEMPROP COMPUTERNAME
, KEY_PREFIX COMP SYSTEM
" Properties", NULL
, NULL
},
1222 { SC_10_1
, SYSTEMPROP
, COMPUTERNAME
, NULL
, CFSTRING
},
1223 { SC_10_1
, SYSTEMPROP
, COMPUTERNAME ENCODING
, NULL
, CFNUMBER
},
1224 { COMMENT
, "", NULL
, NULL
, NULL
},
1226 { GROUP_PRIVATE
, SYSTEMPROP COMPUTERNAME
, KEY_PREFIX COMP SYSTEM
" Properties", NULL
, NULL
},
1228 { SC_10_5_PRIVATE
, SYSTEMPROP
, COMPUTERNAME REGION
, NULL
, CFNUMBER
},
1229 { SC_10_5_PRIVATE
, SYSTEMPROP
, HOSTNAME
, NULL
, CFSTRING
},
1230 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1232 { GROUP
, DYNAMICSTORE DOMAIN
, "SCDynamicStore \"domain\" prefixes", NULL
, NULL
},
1234 { SC_10_1
, DYNAMICSTORE DOMAIN
, FILE, "File:", NULL
},
1235 { SC_10_1
, DYNAMICSTORE DOMAIN
, PLUGIN
, "Plugin:", NULL
},
1236 { SC_10_1
, DYNAMICSTORE DOMAIN
, SETUP
, "Setup:", NULL
},
1237 { SC_10_1
, DYNAMICSTORE DOMAIN
, STATE
, "State:", NULL
},
1238 { SC_10_1
, DYNAMICSTORE DOMAIN
, PREFS
, "Prefs:", NULL
},
1239 { COMMENT
, "", NULL
, NULL
, NULL
},
1241 { GROUP
, DYNAMICSTORE SETUPPROP
, "Preference (\"location\") Keys", NULL
, NULL
},
1243 { SC_10_1
, DYNAMICSTORE SETUPPROP
, CURRENTSET
, NULL
, CFSTRING
},
1244 { SC_10_1
, DYNAMICSTORE SETUPPROP
, LAST UPDATED
, NULL
, NULL
},
1245 { COMMENT
, "", NULL
, NULL
, NULL
},
1247 { GROUP
, DYNAMICSTORE NETPROP
, "Common/shared Keys", NULL
, NULL
},
1249 { SC_10_1
, DYNAMICSTORE NETPROP
, INTERFACES
, NULL
, CFARRAY_CFSTRING
},
1250 { SC_10_1
, DYNAMICSTORE NETPROP
, PRIMARYINTERFACE
, NULL
, CFSTRING
},
1251 { SC_10_1
, DYNAMICSTORE NETPROP
, PRIMARYSERVICE
, NULL
, CFSTRING
},
1252 { SC_10_1
, DYNAMICSTORE NETPROP
, SERVICEIDS
, NULL
, CFARRAY_CFSTRING
},
1253 // { COMMENT, "", NULL, NULL, NULL },
1255 { GROUP_PRIVATE
, VIRTUALNETWORKINTERFACES
, "Virtual Network Interface Keys", NULL
, NULL
},
1257 { SC_10_5_PRIVATE
, VIRTUALPROP BOND
, INTERFACES
, NULL
, CFARRAY_CFSTRING
},
1258 { SC_10_5_PRIVATE
, VIRTUALPROP BOND
, MODE
, NULL
, CFNUMBER
},
1259 { SC_10_5_PRIVATE
, VIRTUALPROP BOND
, OPTIONS
, NULL
, CFDICTIONARY
},
1260 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1261 { SC_10_7_IPHONE_4_0_PRIVATE
, VIRTUALPROP BRIDGE
, INTERFACES
, NULL
, CFARRAY_CFSTRING
},
1262 { SC_10_7_IPHONE_4_0_PRIVATE
, VIRTUALPROP BRIDGE
, OPTIONS
, NULL
, CFDICTIONARY
},
1263 { COMMENT_PRIVATE
, "", NULL
, NULL
, NULL
},
1264 { SC_10_5_PRIVATE
, VIRTUALPROP VLAN
, INTERFACE
, NULL
, CFSTRING
},
1265 { SC_10_5_PRIVATE
, VIRTUALPROP VLAN
, TAG
, NULL
, CFNUMBER
},
1266 { SC_10_5_PRIVATE
, VIRTUALPROP VLAN
, OPTIONS
, NULL
, CFDICTIONARY
},
1267 // { COMMENT_PRIVATE, "", NULL, NULL, NULL },
1269 //{ GROUP, "DEPRECATED", "Deprecated schema definition keys", NULL, NULL },
1271 { DEFINE
, "#if", "!TARGET_OS_IPHONE", NULL
, NULL
},
1272 { SC_10_1_10_4
, USERSPROP CONSOLEUSER
, NAME
, NULL
, CFSTRING
},
1273 { SC_10_1_10_4
, USERSPROP CONSOLEUSER
, UID
, NULL
, CFNUMBER
},
1274 { SC_10_1_10_4
, USERSPROP CONSOLEUSER
, GID
, NULL
, CFNUMBER
},
1275 { DEFINE
, "#endif", "// !TARGET_OS_IPHONE", NULL
, NULL
},
1276 // { COMMENT, "", NULL, NULL, NULL },
1278 { END
, NULL
, NULL
, NULL
, NULL
},
1281 static int maxkbuf
= 0;
1282 static char *maxkstr
= NULL
;
1283 static int maxvbuf
= 0;
1284 static char *maxvstr
= NULL
;
1286 static __inline__
void
1287 setmax(int *max
, char **maxstr
, char *str
)
1293 if (*maxstr
) free(*maxstr
);
1294 *maxstr
= strdup(str
);
1303 gen_comments_private_e
,
1305 gen_headerdoc_private_e
,
1307 gen_hfile_private_e
,
1312 print_comment(schemaDefinition
*def
)
1317 snprintf(kbuf
, sizeof(kbuf
), KEY_PREFIX
"%s%s",
1318 def
->prefix
, def
->key
);
1319 snprintf(vbuf
, sizeof(vbuf
), "\"%s\"",
1320 def
->value
? def
->value
: def
->key
);
1323 printf(" * %-50s %-30s %s\n",
1324 kbuf
, vbuf
, def
->type
);
1326 printf(" * %-50s %s\n",
1333 print_define(schemaDefinition
*def
)
1335 printf("%s\t%s\n", def
->prefix
, def
->key
);
1340 print_headerdoc(schemaDefinition
*def
)
1345 snprintf(kbuf
, sizeof(kbuf
), KEY_PREFIX
"%s%s",
1346 def
->prefix
, def
->key
);
1347 setmax(&maxkbuf
, &maxkstr
, kbuf
);
1349 snprintf(vbuf
, sizeof(vbuf
), "\"%s\"",
1350 def
->value
? def
->value
: def
->key
);
1351 setmax(&maxvbuf
, &maxvstr
, vbuf
);
1356 printf(" @const %s\n", kbuf
);
1357 switch (def
->control
) {
1359 printf(" @availability Introduced in Mac OS X 10.1.\n");
1362 printf(" @availability Introduced in Mac OS X 10.2.\n");
1365 printf(" @availability Introduced in Mac OS X 10.3.\n");
1368 printf(" @availability Introduced in Mac OS X 10.1, but later deprecated in Mac OS X 10.4.\n");
1371 printf(" @availability Introduced in Mac OS X 10.4.\n");
1374 printf(" @availability Introduced in Mac OS X 10.1, but later deprecated in Mac OS X 10.5.\n");
1377 printf(" @availability Introduced in Mac OS X 10.5.\n");
1380 printf(" @availability Introduced in Mac OS X 10.5, but later deprecated in Mac OS X 10.7.\n");
1382 case SC_10_5_PRIVATE
:
1383 printf(" @availability Introduced in Mac OS X 10.5.\n");
1386 printf(" @availability Introduced in Mac OS X 10.1, but later deprecated in Mac OS X 10.6.\n");
1389 printf(" @availability Introduced in Mac OS X 10.2, but later deprecated in Mac OS X 10.6.\n");
1392 printf(" @availability Introduced in Mac OS X 10.1, but later deprecated in Mac OS X 10.9.\n");
1395 printf(" @availability Introduced in Mac OS X 10.2, but later deprecated in Mac OS X 10.9.\n");
1398 printf(" @availability Introduced in Mac OS X 10.3, but later deprecated in Mac OS X 10.9.\n");
1401 printf(" @availability Introduced in Mac OS X 10.4, but later deprecated in Mac OS X 10.9.\n");
1403 case SC_10_6_IPHONE_2_0
:
1404 case SC_10_6_IPHONE_2_0_PRIVATE
:
1405 printf(" @availability Introduced in Mac OS X 10.6.\n");
1407 case SC_10_6_IPHONE_3_0
:
1408 case SC_10_6_IPHONE_3_0_PRIVATE
:
1409 printf(" @availability Introduced in Mac OS X 10.6.\n");
1411 case SC_10_7_IPHONE_4_0
:
1412 case SC_10_7_IPHONE_4_0_PRIVATE
:
1413 case SC_10_7_IPHONE_5_0_PRIVATE
:
1414 printf(" @availability Introduced in Mac OS X 10.7.\n");
1416 case SC_10_8_IPHONE_6_0_PRIVATE
:
1417 printf(" @availability Introduced in Mac OS X 10.8.\n");
1419 case SC_10_9_IPHONE_6_0_PRIVATE
:
1420 case SC_10_9_IPHONE_7_0_PRIVATE
:
1421 printf(" @availability Introduced in Mac OS X 10.9.\n");
1423 case SC_10_10_IPHONE_7_0_PRIVATE
:
1424 case SC_10_10_IPHONE_8_0_PRIVATE
:
1425 printf(" @availability Introduced in Mac OS X 10.10.\n");
1427 case SC_IPHONE_2_0_PRIVATE
:
1428 printf(" @availability Introduced in iPhone OS 2.0.\n");
1432 printf("extern const CFStringRef %s;\n", kbuf
);
1438 print_hfile(schemaDefinition
*def
)
1443 snprintf(kbuf
, sizeof(kbuf
), KEY_PREFIX
"%s%s",
1444 def
->prefix
, def
->key
);
1445 setmax(&maxkbuf
, &maxkstr
, kbuf
);
1447 snprintf(vbuf
, sizeof(vbuf
), "\"%s\"",
1448 def
->value
? def
->value
: def
->key
);
1449 setmax(&maxvbuf
, &maxvstr
, vbuf
);
1453 switch (def
->control
) {
1455 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_2_0/*SPI*/))\n", kbuf
);
1458 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0/*SPI*/))\n", kbuf
);
1461 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_2_0/*SPI*/))\n", kbuf
);
1464 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_4,__IPHONE_NA,__IPHONE_NA))\n", kbuf
);
1467 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_4,__IPHONE_2_0/*SPI*/))\n", kbuf
);
1470 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_5,__IPHONE_NA,__IPHONE_NA))\n", kbuf
);
1473 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_2_0/*SPI*/))\n", kbuf
);
1476 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5,__MAC_10_7,__IPHONE_NA,__IPHONE_NA))\n", kbuf
);
1478 case SC_10_5_PRIVATE
:
1479 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_2_0/*SPI*/))\n", kbuf
);
1482 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_6,__IPHONE_NA,__IPHONE_NA))\n", kbuf
);
1485 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2,__MAC_10_6,__IPHONE_NA,__IPHONE_NA))\n", kbuf
);
1488 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_1,__MAC_10_9,__IPHONE_2_0/*SPI*/,__IPHONE_FUTURE/*SPI*/))\n", kbuf
);
1491 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_2,__MAC_10_9,__IPHONE_2_0/*SPI*/,__IPHONE_FUTURE/*SPI*/))\n", kbuf
);
1494 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3,__MAC_10_9,__IPHONE_2_0/*SPI*/,__IPHONE_FUTURE/*SPI*/))\n", kbuf
);
1497 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_4,__MAC_10_9,__IPHONE_2_0/*SPI*/,__IPHONE_FUTURE/*SPI*/))\n", kbuf
);
1499 case SC_10_6_IPHONE_2_0
:
1500 case SC_10_6_IPHONE_2_0_PRIVATE
:
1501 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_2_0/*SPI*/))\n", kbuf
);
1503 case SC_10_6_IPHONE_3_0
:
1504 case SC_10_6_IPHONE_3_0_PRIVATE
:
1505 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_3_0/*SPI*/))\n", kbuf
);
1507 case SC_10_7_IPHONE_4_0
:
1508 case SC_10_7_IPHONE_4_0_PRIVATE
:
1509 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_4_0/*SPI*/))\n", kbuf
);
1511 case SC_10_7_IPHONE_5_0_PRIVATE
:
1512 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_7,__IPHONE_5_0/*SPI*/))\n", kbuf
);
1514 case SC_10_8_IPHONE_6_0_PRIVATE
:
1515 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_8,__IPHONE_6_0/*SPI*/))\n", kbuf
);
1517 case SC_10_9_IPHONE_6_0_PRIVATE
:
1518 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_6_0/*SPI*/))\n", kbuf
);
1520 case SC_10_9_IPHONE_7_0_PRIVATE
:
1521 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_7_0/*SPI*/))\n", kbuf
);
1523 case SC_10_10_IPHONE_7_0_PRIVATE
:
1524 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_10,__IPHONE_7_0/*SPI*/))\n", kbuf
);
1526 case SC_10_10_IPHONE_8_0_PRIVATE
:
1527 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_10_10,__IPHONE_8_0/*SPI*/))\n", kbuf
);
1529 case SC_IPHONE_2_0_PRIVATE
:
1530 printf(" " SC_SCHEMA_DECLARATION
"(%s, __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_2_0/*SPI*/))\n", kbuf
);
1533 printf(" " SC_SCHEMA_DECLARATION
"(%s,)\n", kbuf
);
1537 printf(" #define %-48s \\\n",
1539 printf(" " SC_SCHEMA_KV
"(%-48s \\\n",
1541 printf(" ,%-48s \\\n",
1543 printf(" ,%-48s )\n",
1544 def
->type
? def
->type
: "");
1550 dump_names(int type
)
1554 for (i
= 0; TRUE
; i
++) {
1555 switch (names
[i
].control
) {
1562 case gen_comments_e
:
1563 if (names
[i
].prefix
) {
1564 if (strlen(names
[i
].prefix
) > 0)
1565 printf(" * %s\n", names
[i
].prefix
);
1576 case COMMENT_PRIVATE
: {
1578 case gen_comments_private_e
:
1579 if (names
[i
].prefix
) {
1580 if (strlen(names
[i
].prefix
) > 0)
1581 printf(" * %s\n", names
[i
].prefix
);
1592 case COMMENT_DEPRECATED
: {
1600 print_define(&names
[i
]);
1603 if ((strcmp(names
[i
].prefix
, "#if") == 0) ||
1604 (strcmp(names
[i
].prefix
, "#ifdef") == 0) ||
1605 (strcmp(names
[i
].prefix
, "#ifndef") == 0))
1607 print_define(&names
[i
]);
1608 if (strcmp(names
[i
].prefix
, "#endif") == 0)
1617 case DEFINE_PRIVATE
: {
1619 case gen_hfile_private_e
:
1621 print_define(&names
[i
]);
1624 if ((strcmp(names
[i
].prefix
, "#if") == 0) ||
1625 (strcmp(names
[i
].prefix
, "#ifdef") == 0) ||
1626 (strcmp(names
[i
].prefix
, "#ifndef") == 0))
1628 print_define(&names
[i
]);
1629 if (strcmp(names
[i
].prefix
, "#endif") == 0)
1639 case GROUP_DEPRECATED
: {
1641 case gen_comments_e
:
1642 if (names
[i
].control
== GROUP
) {
1644 printf(" * %s\n *\n", names
[i
].key
);
1647 case gen_headerdoc_e
:
1648 if (names
[i
].prefix
)
1649 printf("\n/*!\n @group %s\n */\n", names
[i
].key
);
1657 case GROUP_PRIVATE
: {
1659 case gen_comments_private_e
:
1661 printf(" * %s\n *\n", names
[i
].key
);
1663 case gen_headerdoc_private_e
:
1664 if (names
[i
].prefix
)
1665 printf("\n/*!\n @group %s\n */\n", names
[i
].key
);
1679 snprintf(kbuf
, sizeof(kbuf
), KEY_PREFIX
"%s%s",
1680 names
[i
].prefix
, names
[i
].key
);
1683 snprintf(vbuf
, sizeof(vbuf
), "SCSTR(\"%s\")",
1686 snprintf(vbuf
, sizeof(vbuf
), "SCSTR(\"%s\")",
1689 printf("#define %-50s %s\n",
1693 case gen_comments_e
:
1694 switch (names
[i
].control
) {
1703 // don't report deprecated keys
1705 case SC_10_5_PRIVATE
:
1706 case SC_10_6_IPHONE_2_0_PRIVATE
:
1707 case SC_10_6_IPHONE_3_0_PRIVATE
:
1708 case SC_10_7_IPHONE_4_0_PRIVATE
:
1709 case SC_10_7_IPHONE_5_0_PRIVATE
:
1710 case SC_10_8_IPHONE_6_0_PRIVATE
:
1711 case SC_10_9_IPHONE_6_0_PRIVATE
:
1712 case SC_10_9_IPHONE_7_0_PRIVATE
:
1713 case SC_10_10_IPHONE_7_0_PRIVATE
:
1714 case SC_10_10_IPHONE_8_0_PRIVATE
:
1715 case SC_IPHONE_2_0_PRIVATE
:
1716 // don't report private definitions
1719 print_comment(&names
[i
]);
1723 case gen_comments_private_e
:
1724 switch (names
[i
].control
) {
1733 // don't report deprecated keys
1735 case SC_10_5_PRIVATE
:
1736 case SC_10_6_IPHONE_2_0_PRIVATE
:
1737 case SC_10_6_IPHONE_3_0_PRIVATE
:
1738 case SC_10_7_IPHONE_4_0_PRIVATE
:
1739 case SC_10_7_IPHONE_5_0_PRIVATE
:
1740 case SC_10_8_IPHONE_6_0_PRIVATE
:
1741 case SC_10_9_IPHONE_6_0_PRIVATE
:
1742 case SC_10_9_IPHONE_7_0_PRIVATE
:
1743 case SC_10_10_IPHONE_7_0_PRIVATE
:
1744 case SC_10_10_IPHONE_8_0_PRIVATE
:
1745 case SC_IPHONE_2_0_PRIVATE
:
1746 print_comment(&names
[i
]);
1749 // don't report public definitions
1754 case gen_headerdoc_e
:
1755 switch (names
[i
].control
) {
1756 case SC_10_5_PRIVATE
:
1757 case SC_10_6_IPHONE_2_0_PRIVATE
:
1758 case SC_10_6_IPHONE_3_0_PRIVATE
:
1759 case SC_10_7_IPHONE_4_0_PRIVATE
:
1760 case SC_10_7_IPHONE_5_0_PRIVATE
:
1761 case SC_10_8_IPHONE_6_0_PRIVATE
:
1762 case SC_10_9_IPHONE_6_0_PRIVATE
:
1763 case SC_10_9_IPHONE_7_0_PRIVATE
:
1764 case SC_10_10_IPHONE_7_0_PRIVATE
:
1765 case SC_10_10_IPHONE_8_0_PRIVATE
:
1766 case SC_IPHONE_2_0_PRIVATE
:
1767 // don't report private definitions
1770 print_headerdoc(&names
[i
]);
1774 case gen_headerdoc_private_e
:
1775 switch (names
[i
].control
) {
1776 case SC_10_5_PRIVATE
:
1777 case SC_10_6_IPHONE_2_0_PRIVATE
:
1778 case SC_10_6_IPHONE_3_0_PRIVATE
:
1779 case SC_10_7_IPHONE_4_0_PRIVATE
:
1780 case SC_10_7_IPHONE_5_0_PRIVATE
:
1781 case SC_10_8_IPHONE_6_0_PRIVATE
:
1782 case SC_10_9_IPHONE_6_0_PRIVATE
:
1783 case SC_10_9_IPHONE_7_0_PRIVATE
:
1784 case SC_10_10_IPHONE_7_0_PRIVATE
:
1785 case SC_10_10_IPHONE_8_0_PRIVATE
:
1786 case SC_IPHONE_2_0_PRIVATE
:
1787 print_headerdoc(&names
[i
]);
1790 // don't report public definitions
1796 switch (names
[i
].control
) {
1797 case SC_10_5_PRIVATE
:
1798 case SC_10_6_IPHONE_2_0_PRIVATE
:
1799 case SC_10_6_IPHONE_3_0_PRIVATE
:
1800 case SC_10_7_IPHONE_4_0_PRIVATE
:
1801 case SC_10_7_IPHONE_5_0_PRIVATE
:
1802 case SC_10_8_IPHONE_6_0_PRIVATE
:
1803 case SC_10_9_IPHONE_6_0_PRIVATE
:
1804 case SC_10_9_IPHONE_7_0_PRIVATE
:
1805 case SC_10_10_IPHONE_7_0_PRIVATE
:
1806 case SC_10_10_IPHONE_8_0_PRIVATE
:
1807 case SC_IPHONE_2_0_PRIVATE
:
1809 // don't report private definitions
1811 print_hfile(&names
[i
]);
1815 case gen_hfile_private_e
:
1816 switch (names
[i
].control
) {
1817 case SC_10_5_PRIVATE
:
1818 case SC_10_6_IPHONE_2_0_PRIVATE
:
1819 case SC_10_6_IPHONE_3_0_PRIVATE
:
1820 case SC_10_7_IPHONE_4_0_PRIVATE
:
1821 case SC_10_7_IPHONE_5_0_PRIVATE
:
1822 case SC_10_8_IPHONE_6_0_PRIVATE
:
1823 case SC_10_9_IPHONE_6_0_PRIVATE
:
1824 case SC_10_9_IPHONE_7_0_PRIVATE
:
1825 case SC_10_10_IPHONE_7_0_PRIVATE
:
1826 case SC_10_10_IPHONE_8_0_PRIVATE
:
1827 case SC_IPHONE_2_0_PRIVATE
:
1828 print_hfile(&names
[i
]);
1831 // don't report public definitions
1837 snprintf(kbuf
, sizeof(kbuf
), KEY_PREFIX
"%s%s",
1838 names
[i
].prefix
, names
[i
].key
);
1841 printf("const CFStringRef %-48s = CFSTR(\"%s\");\n",
1842 kbuf
, names
[i
].value
);
1844 printf("const CFStringRef %-48s = CFSTR(\"%s\");\n",
1845 kbuf
, names
[i
].key
);
1857 fprintf(stderr
, "max key: length = %2d, string = %s\n", maxkbuf
, maxkstr
);
1858 fprintf(stderr
, "max val: length = %2d, string = %s\n", maxvbuf
, maxvstr
);
1865 main(int argc
, char * argv
[])
1872 if (strcmp(type
, "header") == 0) {
1873 printf("%s\n", copyright_string
);
1874 printf("/*\n * This file is automatically generated\n * DO NOT EDIT!\n */\n\n");
1877 dump_names(gen_comments_e
);
1878 printf(" */\n\n\n");
1881 printf(" * Note: The MACOSX_DEPLOYMENT_TARGET environment variable should be used\n");
1882 printf(" * when building an application targeted for an earlier version of\n");
1883 printf(" * Mac OS X. Please reference Technical Note TN2064 for more details.\n");
1887 printf(" * Note: For Cocoa/Obj-C/Foundation applications accessing these preference\n");
1888 printf(" * keys you may want to consider the following :\n");
1890 printf(" * #define " SC_SCHEMA_DECLARATION
"(k,q)\textern NSString * k;\n");
1891 printf(" * #import <SystemConfiguration/SystemConfiguration.h>\n");
1895 printf(" * Note: For CFM applications using these schema keys you may want to\n");
1896 printf(" * consider the following :\n");
1898 printf(" * #define " SC_SCHEMA_DECLARATION
"(k,q)\n");
1899 printf(" * #define " SC_SCHEMA_KV
"(k,v,t)\tlookup_SC_key( CFSTR( #k ) )\n");
1900 printf(" * #include <SystemConfiguration/SystemConfiguration.h>\n");
1902 printf(" * CFStringRef lookup_SC_key(CFStringRef key)\n");
1904 printf(" * // this function should [dynamically, on-demand] load the\n");
1905 printf(" * // SystemConfiguration.framework, look up the provided key,\n");
1906 printf(" * // and return the associated value.\n");
1911 printf(" * Note: Earlier versions of this header file defined a \"SCSTR\" macro\n");
1912 printf(" * which helped to facilitate Obj-C development. Use of this macro\n");
1913 printf(" * has been deprecated (in Mac OS X 10.4) in favor of the newer\n");
1914 printf(" * \"" SC_SCHEMA_DECLARATION
"\" and \"" SC_SCHEMA_KV
"\" macros\n");
1915 printf(" */\n\n\n");
1917 printf("#ifndef\t_SCSCHEMADEFINITIONS_H\n");
1918 printf("#ifdef\tUSE_SYSTEMCONFIGURATION_PRIVATE_HEADERS\n");
1919 printf("#include <SystemConfiguration/_SCSchemaDefinitions.h>\n");
1920 printf("#else\t/* USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS */\n");
1921 printf("#define\t_SCSCHEMADEFINITIONS_H\n");
1924 printf("/* -------------------- Macro declarations -------------------- */\n\n");
1926 printf("#include <Availability.h>\n");
1927 printf("#include <TargetConditionals.h>\n");
1931 printf(" * Define a schema key/value/type tuple\n");
1933 printf("#ifndef " SC_SCHEMA_KV
"\n");
1934 printf(" #define " SC_SCHEMA_KV
"(k,v,t)\tk\n");
1935 printf("#endif\n\n");
1938 printf(" * Provide an \"extern\" for the key/value\n");
1940 printf("#ifndef " SC_SCHEMA_DECLARATION
"\n");
1941 printf(" #ifndef SCSTR\n");
1942 printf(" #include <CoreFoundation/CFString.h>\n");
1943 printf(" #define " SC_SCHEMA_DECLARATION
"(k,q)\textern const CFStringRef k q;\n");
1945 printf(" #import <Foundation/NSString.h>\n");
1946 printf(" #define " SC_SCHEMA_DECLARATION
"(k,q)\textern NSString * k q;\n");
1947 printf(" #endif\n");
1950 printf("/* -------------------- HeaderDoc comments -------------------- */\n\n\n");
1953 printf(" *\t@header SCSchemaDefinitions\n");
1955 dump_names(gen_headerdoc_e
);
1957 printf("#endif\t/* 0 */\n\n\n");
1959 printf("/* -------------------- Schema declarations -------------------- */\n\n");
1962 dump_names(gen_hfile_e
);
1965 printf("#endif\t/* USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS */\n");
1966 printf("#endif\t/* _SCSCHEMADEFINITIONS_H */\n");
1968 else if (strcmp(type
, "private") == 0) {
1969 printf("%s\n", copyright_string
);
1970 printf("/*\n * This file is automatically generated\n * DO NOT EDIT!\n */\n\n");
1973 dump_names(gen_comments_private_e
);
1974 printf(" */\n\n\n");
1976 printf("#ifndef _SCSCHEMADEFINITIONSPRIVATE_H\n");
1977 printf("#define _SCSCHEMADEFINITIONSPRIVATE_H\n");
1980 printf("/* -------------------- Macro declarations -------------------- */\n\n");
1982 printf("#include <SystemConfiguration/SCSchemaDefinitions.h>\n\n");
1984 printf("/* -------------------- HeaderDoc comments -------------------- */\n\n\n");
1987 printf(" *\t@header SCSchemaDefinitionsPrivate\n");
1989 dump_names(gen_headerdoc_private_e
);
1991 printf("#endif\t/* 0 */\n\n\n");
1993 printf("/* -------------------- Schema declarations -------------------- */\n\n");
1994 dump_names(gen_hfile_private_e
);
1997 printf("#endif\t/* _SCSCHEMADEFINITIONSPRIVATE_H */\n");
1999 else if (strcmp(type
, "cfile") == 0) {
2001 printf(" * This file is automatically generated\n");
2002 printf(" * DO NOT EDIT!\n");
2005 printf("#include <Availability.h>\n");
2006 printf("#include <TargetConditionals.h>\n");
2007 printf("#include <CoreFoundation/CFString.h>\n");
2009 dump_names(gen_cfile_e
);