Apple Network Setup manual OTCfgTCPSearchDomains, OTCfgTCPSearchList

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 120
Image 120
OTCfgTCPSearchDomains

C H A P T E R 4

Network Setup Protocol Structures and Data Types

OTCfgTCPSearchDomains

The OTCfgTCPSearchDomains structure stores the list of domains that are searched after the implicit search domains.

IMPORTANT

You must pack this structure before you write it to the database and you must unpack this structure after you reading it from the database.

struct OTCfgTCPSearchDomains { UInt16 fCount;

Str255 fFirstSearchDomain;

};

typedef struct OTCfgTCPSearchDomains OTCfgTCPSearchDomains;

Field descriptions

 

fCount

The number of domains in the list

fFirstSearchDomain The first domain to be searched. The other search domains are packed after this fFirstSearchDomain.

Note

This preference is stored in string list format (the same format as a ‘STR#’ resource).

The preference type for this preference is kOTCfgTCPSearchDomainsPref, which is defined as 'isdm'.

OTCfgTCPSearchList

The OTCfgTCPSearchList structure stores DNS configuration information.

IMPORTANT

You must pack this structure before you write it to the database and you must unpack this structure after you reading it from the database.

120Protocol Structures

Page 120
Image 120
Apple Network Setup manual OTCfgTCPSearchDomains, OTCfgTCPSearchList