Apple Network Setup manual CfgDatabaseRef, CfgAreaID

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 98
Image 98
CfgDatabaseRef

C H A P T E R 3

Network Setup Reference

CfgEntityInfo (page 99), which contains information about the entities in an area.

CfgEntityAccessID (page 100), which identifies an open preference within an entity.

CfgPrefsHeader (page 100), which is used to return information about the preferences within an entity.

CfgSetsStruct (page 101), which stores information about a set entity.

CfgSetsElement (page 103), which represents an element in a CfgSetsVector (page 103) structure.

CfgSetsVector (page 103), which stores references to a set of entities.

CfgDatabaseRef

A value of type CfgDatabaseRef refers to an open session with the Network Setup database.

typedef struct OpaqueCfgDatabaseRef* CfgDatabaseRef;

CfgDatabaseRef A pointer to an opaque value that identifies the open session.

Call OTCfgOpenDatabase (page 58) to open the database and obtain a value of type CfgDatabaseRef. Network Setup requires a value of type CfgDatabaseRef to open an area, make changes in an area, list and create entities in an area, and to open an entity.

A CfgDatabaseRef whose value is NULL is never a valid database reference.

CfgAreaID

A value of type CfgAreaID identifies an area.

typedef UInt32 CfgAreaID;

CfgAreaID

An unsigned 32-bit value that uniquely identifies an area.

98Network Setup Structures and Data Types

Page 98
Image 98
Apple Network Setup manual CfgDatabaseRef, CfgAreaID