C H A P T E R 3

Network Setup Reference

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

kOTCfgIndexSetsActiveThis index yields the time stamp of the active legacy preferences file.

kOTCfgIndexSetsEditSets edit index.

kOTCfgIndexSetsLimitThis value is defined to allow the declaration of the fTimes field of the CfgSetsStruct (page 101) structure.

102Network Setup Structures and Data Types

Page 102
Image 102
Apple Network Setup manual For the fFlags field that follows, An array of time stamps used during legacy import, Follows