Figures, tables, and listings – Apple Network Setup User Manual
Page 7

7
Figures, Tables, and Listings
About Network Setup
11
Network configuration prior to Network Setup
12
Network Setup in Mac OS 8.5 through the present
13
Future Network Setup architecture
14
Structure of the Network Setup Library
15
Sample organization of the default area
18
Reading and writing the default area
20
Network Setup versions
23
Using Network Setup
25
Set entities reference other entities
42
Listing 2-1
Opening the database for reading
26
Opening the database for writing
27
Closing the database after reading
28
Closing the database after writing
29
Finding all entities of a particular class and type
31
Printing the user-visible name for an entity
33
Reading a fixed-size preference
35
Reading the DHCP lease info preference in a TCP/IP network
connection entity
36
Reading the user-visible name preference
37
Calling OTCfgGetPrefsSize to read a variable-size preference
38
Writing a preference
39
Printing an entity’s table of contents
40
Finding the active set entity
44
Finding the active entity of a given class and type
46
Finding the active TCP/IP entity
47
Packing and unpacking the kOTCfgTCPInterfacesPref
preference
50
Encrypting the user’s password
54