Cfgdatabaseref, Cfgareaid, On input, a pointer to a value of type – Apple Network Setup User Manual

Page 98: On input, a value of type, On input, a pointer to value of type

Advertising
background image

C H A P T E R 3

Network Setup Reference

98

Network Setup Structures and Data Types

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

3

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

3

A value of type

CfgAreaID

identifies an area.

typedef UInt32 CfgAreaID;

CfgAreaID

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

Advertising