Apple Network Setup User Manual

Page 102

Advertising
background image

C H A P T E R 3

Network Setup Reference

102

Network Setup Structures and Data Types

struct CfgSetsStruct

{

UInt32 fFlags;

UInt32 fTimes[ kOTCfgIndexSetsLimit ];

};

typedef struct CfgSetsStruct CfgSetsStruct;

Field descriptions

fFlags

Flags for this set. For possible values, see the enumeration
for the

fFlags

field that follows.

fTimes

An array of time stamps used during legacy import and
export indexed by the enumeration for the

fTimes

field that

follows.

The following enumerations define bits and masks for the

fFlags

field:

enum {

kOTCfgSetsFlagActiveBit = 0

};

enum {

kOTCfgSetsFlagActiveMask = 0x0001

};

If the active bit is set, this set entity is the active set. The default area must
always contain exactly one active set.

The following enumeration defines values for the

fTimes

field:

enum {

kOTCfgIndexSetsActive = 0,

kOTCfgIndexSetsEdit,

kOTCfgIndexSetsLimit

};

Constant descriptions

kOTCfgIndexSetsActive

This index yields the time stamp of the active legacy

preferences file.

kOTCfgIndexSetsEdit

Sets edit index.

kOTCfgIndexSetsLimit

This value is defined to allow the declaration of the

fTimes

field of the

CfgSetsStruct (page 101)

structure.

Advertising