Apple manual Figures, Tables, and Listings, About Network Setup, Using Network Setup, Chapter

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 7
Image 7

Figures, Tables, and Listings

Chapter 1

About Network Setup

11

 

 

 

 

 

 

 

 

 

Figure 1-1

Network configuration prior to Network Setup

12

 

 

 

Figure 1-2

Network Setup in Mac OS 8.5 through the present

13

 

 

Figure 1-3

Future Network Setup architecture

 

14

 

 

 

 

 

Figure 1-4

Structure of the Network Setup Library

15

 

 

 

 

Figure 1-5

Sample organization of the default area

18

 

 

 

 

Figure 1-6

Reading and writing the default area

20

 

 

 

 

Table 1-1

Network Setup versions

23

 

 

 

 

 

 

Chapter 2

Using Network Setup

25

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 2-1

Set entities reference other entities

 

42

 

 

 

 

 

Listing 2-1

Opening the database for reading

 

26

 

 

 

 

 

Listing 2-2

Opening the database for writing

 

27

 

 

 

 

 

Listing 2-3

Closing the database after reading

 

28

 

 

 

 

 

Listing 2-4

Closing the database after writing

 

29

 

 

 

 

 

Listing 2-5

Finding all entities of a particular class and type

 

31

 

 

Listing 2-6

Printing the user-visible name for an entity

33

 

 

 

 

Listing 2-7

Reading a fixed-size preference

 

35

 

 

 

 

 

Listing 2-8

Reading the DHCP lease info preference in a TCP/IP network

 

 

 

connection entity

36

 

 

 

 

 

 

 

 

Listing 2-9

Reading the user-visible name preference

37

 

 

 

 

Listing 2-10

Calling OTCfgGetPrefsSize to read a variable-size preference

38

 

Listing 2-11

Writing a preference

39

 

 

 

 

 

 

 

 

Listing 2-12

Printing an entity’s table of contents

 

40

 

 

 

 

 

Listing 2-13

Finding the active set entity

44

 

 

 

 

 

 

 

Listing 2-14

Finding the active entity of a given class and type

 

46

 

 

Listing 2-15

Finding the active TCP/IP entity

47

 

 

 

 

 

Listing 2-16

Packing and unpacking the kOTCfgTCPInterfacesPref

 

 

 

preference

50

 

 

 

 

 

 

 

 

 

Listing 2-17

Encrypting the user’s password

54

 

 

 

 

7

Page 7
Image 7
Apple manual Figures, Tables, and Listings, About Network Setup, Using Network Setup, Chapter