Otcfgtcpsearchdomains, Otcfgtcpsearchlist, Ched. for details, see – Apple Network Setup User Manual

Page 120

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

120

Protocol Structures

OTCfgTCPSearchDomains

4

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

4

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.

Advertising