Managing areas, Managing areas 3 – Apple Network Setup User Manual

Page 59

Advertising
background image

C H A P T E R 3

Network Setup Reference

Network Setup Functions

59

Note

Closing a database session automatically removes any
notification callback that has been installed for the session
represented by

dbRef

.

◆

Managing Areas

3

The following functions manage areas in the Network Setup database:

■

OTCfgGetCurrentArea

(page 60) obtains the default area in the database.

■

OTCfgSetCurrentArea

(page 61) sets the default area in the database.

■

OTCfgOpenArea

(page 61) opens an area in the database.

■

OTCfgCloseArea

(page 62) closes an area in the database.

■

OTCfgBeginAreaModifications

(page 63) creates a temporary area for

modifying the database.

■

OTCfgCommitAreaModifications

(page 64) commits changes made in a

temporary area to the database.

■

OTCfgAbortAreaModifications

(page 65) discards a temporary area and all

modifications made to it.

■

OTCfgIsSameAreaID

(page 65) determines whether two area IDs are the same.

■

OTCfgGetAreaName

(page 66) gets the name of an area in the database.

■

OTCfgSetAreaName

(page 67) sets the name of an area in the database.

■

OTCfgGetAreasCount

(page 68) obtains the number of areas in the database.

■

OTCfgGetAreasList

(page 68) obtains the area IDs and area names in the

database.

■

OTCfgCreateArea

(page 70) creates a new area in the database.

■

OTCfgDuplicateArea

(page 71) copies the contents of an area to another area.

■

OTCfgDeleteArea

(page 72) deletes an area in the database.

Advertising