Mac OS 9
NetworkSetup.h
Go to the documentation of this file.
1 
19 #ifndef __NETWORKSETUP__
20 #define __NETWORKSETUP__
21 
22 #ifndef __MACTYPES__
23 #include <MacTypes.h>
24 #endif
25 
26 #ifndef __FILES__
27 #include <Files.h>
28 #endif
29 
30 #if PRAGMA_ONCE
31 #pragma once
32 #endif
33 
34 #ifdef __cplusplus
35 extern "C"
36 {
37 #endif
38 
39 #if PRAGMA_IMPORT
40 #pragma import on
41 #endif
42 
43 #if PRAGMA_STRUCT_ALIGN
44 #pragma options align = mac68k
45 #elif PRAGMA_STRUCT_PACKPUSH
46 #pragma pack(push, 2)
47 #elif PRAGMA_STRUCT_PACK
48 #pragma pack(2)
49 #endif
50 
51 #if CALL_NOT_IN_CARBON
52 #ifndef __NETWORKSETUPTYPES__
53 #define __NETWORKSETUPTYPES__
54  typedef struct OpaqueCfgDatabaseRef *CfgDatabaseRef;
55  enum
56  {
57  kInvalidCfgAreaID = 0
58  };
59 
60  typedef UInt32 CfgAreaID;
61  typedef OSType CfgEntityClass;
62  typedef OSType CfgEntityType;
63  struct CfgEntityRef
64  {
65  CfgAreaID fLoc;
66  UInt32 fReserved;
67  Str255 fID;
68  };
69  typedef struct CfgEntityRef CfgEntityRef;
71  {
72  FSSpec fFile;
73  SInt16 fResID;
74  };
77  {
78  CfgEntityClass fClass;
79  CfgEntityType fType;
80  Str255 fName;
81  CfgResourceLocator fIcon;
82  };
83  typedef struct CfgEntityInfo CfgEntityInfo;
84 
85  typedef void *CfgEntityAccessID;
87  {
88  UInt16 fSize;
89  UInt16 fVersion;
90  OSType fType;
91  };
92  typedef struct CfgPrefsHeader CfgPrefsHeader;
96  enum
97  {
98  kCfgErrDatabaseChanged =
99  -3290,
106  -3296,
108  -3297,
111  -3299,
112  kCfgErrFirst = kCfgErrDatabaseChanged,
113  kCfgErrLast = kCfgErrFileCorrupted
114  };
115 
117  enum
118  {
119  kCfgFreePref = FOUR_CHAR_CODE('free')
120  };
121 
133  enum
134  {
135  kCfgClassAnyEntity = FOUR_CHAR_CODE('****'),
136  kCfgClassUnknownEntity = 0x3F3F3F3F,
137  kCfgTypeAnyEntity = FOUR_CHAR_CODE('****'),
138  kCfgTypeUnknownEntity = 0x3F3F3F3F
139  };
140 
144  enum
145  {
146  kCfgIgnoreArea = true,
147  kCfgDontIgnoreArea = false
148  };
149 
150 #endif
151 /********************************************************************************
152 ** Configuration Information Access API
153 ********************************************************************************/
157 #if CALL_NOT_IN_CARBON
166  OSStatus
167  OTCfgOpenDatabase(CfgDatabaseRef *dbRef);
168 
187  OSStatus
188  OTCfgCloseDatabase(CfgDatabaseRef *dbRef);
189 
211  OSStatus
212  OTCfgGetAreasCount(CfgDatabaseRef dbRef, ItemCount *itemCount);
213 
231  OSStatus
232  OTCfgGetAreasList(CfgDatabaseRef dbRef, ItemCount *itemCount,
233  CfgAreaID areaID[],
234  Str255 areaName[]);
262  OSStatus
263  OTCfgGetCurrentArea(CfgDatabaseRef dbRef, CfgAreaID *areaID);
264 
282  OSStatus
283  OTCfgSetCurrentArea(CfgDatabaseRef dbRef, CfgAreaID areaID);
284 
304  OSStatus
305  OTCfgCreateArea(CfgDatabaseRef dbRef, ConstStr255Param areaName,
306  CfgAreaID *areaID);
307 
327  OSStatus
328  OTCfgDeleteArea(CfgDatabaseRef dbRef, CfgAreaID areaID);
329 
349  OSStatus
350  OTCfgDuplicateArea(CfgDatabaseRef dbRef, CfgAreaID sourceAreaID,
351  CfgAreaID destAreaID);
352 
374  OSStatus
375  OTCfgSetAreaName(CfgDatabaseRef dbRef, CfgAreaID areaID,
376  ConstStr255Param areaName, CfgAreaID *newAreaID);
377 
398  OSStatus
399  OTCfgGetAreaName(CfgDatabaseRef dbRef, CfgAreaID areaID, Str255 areaName);
400 
430  OSStatus
431  OTCfgOpenArea(CfgDatabaseRef dbRef, CfgAreaID areaID);
432 
452  OSStatus
453  OTCfgCloseArea(CfgDatabaseRef dbRef, CfgAreaID areaID);
454 
477  OSStatus
478  OTCfgBeginAreaModifications(CfgDatabaseRef dbRef, CfgAreaID readAreaID,
479  CfgAreaID *writeAreaID);
480 
502  OSStatus
503  OTCfgCommitAreaModifications(CfgDatabaseRef dbRef, CfgAreaID readAreaID,
504  CfgAreaID writeAreaID);
505 
530  OSStatus
531  OTCfgAbortAreaModifications(CfgDatabaseRef dbRef, CfgAreaID readAreaID);
532 
565  OSStatus
566  OTCfgGetEntitiesCount(CfgDatabaseRef dbRef, CfgAreaID areaID,
567  CfgEntityClass entityClass, CfgEntityType entityType,
568  ItemCount *itemCount);
569 
599  OSStatus
600  OTCfgGetEntitiesList(CfgDatabaseRef dbRef, CfgAreaID areaID,
601  CfgEntityClass entityClass, CfgEntityType entityType,
602  ItemCount *itemCount,
603  CfgEntityRef entityRef[],
604  CfgEntityInfo entityInfo[]);
646  OSStatus
647  OTCfgCreateEntity(CfgDatabaseRef dbRef, CfgAreaID areaID,
648  const CfgEntityInfo *entityInfo, CfgEntityRef *entityRef);
649 
672  OSStatus
673  OTCfgDeleteEntity(CfgDatabaseRef dbRef, const CfgEntityRef *entityRef);
674 
694  OSStatus
695  OTCfgDuplicateEntity(CfgDatabaseRef dbRef, const CfgEntityRef *entityRef,
696  const CfgEntityRef *newEntityRef);
697 
718  OSStatus
719  OTCfgSetEntityName(CfgDatabaseRef dbRef, const CfgEntityRef *entityRef,
720  ConstStr255Param entityName, CfgEntityRef *newEntityRef);
721 
743  void
744  OTCfgGetEntityArea(const CfgEntityRef *entityRef, CfgAreaID *areaID);
745 
763  void
764  OTCfgGetEntityName(const CfgEntityRef *entityRef, Str255 entityName);
765 
775 #endif
777 #if CALL_NOT_IN_CARBON
786  OSStatus
787  OTCfgGetEntityLogicalName(CfgDatabaseRef dbRef, const CfgEntityRef *entityRef,
788  Str255 entityName);
789 
800 #endif
802 #if CALL_NOT_IN_CARBON
811  void
812  OTCfgChangeEntityArea(CfgEntityRef *entityRef, CfgAreaID newAreaID);
813 
829 #endif
831  enum
832  {
833  kOTCfgIgnoreArea = kCfgIgnoreArea,
834  kOTCfgDontIgnoreArea = kCfgDontIgnoreArea
835  };
836 
837 #if CALL_NOT_IN_CARBON
846  Boolean
848  const CfgEntityRef *entityRef2, Boolean ignoreArea);
849 
872  Boolean
873  OTCfgIsSameAreaID(CfgAreaID areaID1, CfgAreaID areaID2);
874 
902  OSStatus
903  OTCfgOpenPrefs(CfgDatabaseRef dbRef, const CfgEntityRef *entityRef,
904  Boolean writer, CfgEntityAccessID *accessID);
905 
927  OSStatus
928  OTCfgClosePrefs(CfgEntityAccessID accessID);
929 
957  OSStatus
958  OTCfgSetPrefs(CfgEntityAccessID accessID, OSType prefsType, const void *data,
959  ByteCount length);
960 
975 #endif
977 #if CALL_NOT_IN_CARBON
986  OSStatus
987  OTCfgDeletePrefs(CfgEntityAccessID accessID, OSType prefsType);
988 
1000 #endif
1002 #if CALL_NOT_IN_CARBON
1011  OSStatus
1012  OTCfgGetPrefs(CfgEntityAccessID accessID, OSType prefsType, void *data,
1013  ByteCount length);
1014 
1038  OSStatus
1039  OTCfgGetPrefsSize(CfgEntityAccessID accessID, OSType prefsType,
1040  ByteCount *length);
1041 
1054 #endif
1056 #if CALL_NOT_IN_CARBON
1065  OSStatus
1066  OTCfgGetTemplate(CfgEntityClass entityClass, CfgEntityType entityType,
1067  OSType prefsType, void *data, ByteCount *dataSize);
1068 
1088 #endif
1090 #if CALL_NOT_IN_CARBON
1099  Handle
1100  OTCfgGetDefault(OSType entityType, OSType entityClass, OSType prefsType);
1101 
1126  OSStatus
1127  OTCfgGetPrefsTOCCount(CfgEntityAccessID accessID, ItemCount *itemCount);
1128 
1146  OSStatus
1147  OTCfgGetPrefsTOC(CfgEntityAccessID accessID, ItemCount *itemCount,
1148  CfgPrefsHeader prefsTOC[]);
1149 
1177 #endif
1179  typedef CALLBACK_API(void, OTCfgNotifyProcPtr)(void *contextPtr, UInt32 code,
1180  SInt32 result, void *cookie);
1182  {
1183  CfgDatabaseRef dbRef;
1184  CfgEntityClass theClass;
1185  CfgEntityType theType;
1186  OTCfgNotifyProcPtr notifier;
1187  void *contextPtr;
1188  CfgAreaID theArea;
1189  };
1190  typedef struct OTCfgNotifierEntry OTCfgNotifierEntry;
1191 #if CALL_NOT_IN_CARBON
1200  OSStatus
1201  OTCfgInstallNotifier(CfgDatabaseRef dbRef, CfgEntityClass theClass,
1202  CfgEntityType theType, OTCfgNotifyProcPtr notifier,
1203  void *contextPtr);
1229  OSStatus
1230  OTCfgRemoveNotifier(CfgDatabaseRef dbRef, CfgEntityClass theClass,
1231  CfgEntityType theType);
1232 
1249 #endif
1251  enum
1252  {
1253  kOTCfgDatabaseChanged =
1254  0x10000000 +
1255  0
1256  };
1257 
1261 #if CALL_NOT_IN_CARBON
1270  SInt16
1271  OTCfgEncrypt(UInt8 *key, UInt8 *data, SInt16 dataLen);
1272 
1295  SInt16
1296  OTCfgDecrypt(UInt8 *key, UInt8 *data, SInt16 dataLen);
1297 
1324 #endif
1326  enum
1327  {
1328  kOTCfgClassNetworkConnection = FOUR_CHAR_CODE('otnc'),
1329  kOTCfgClassGlobalSettings = FOUR_CHAR_CODE('otgl'),
1330  kOTCfgClassServer = FOUR_CHAR_CODE('otsv'),
1331  kOTCfgTypeGeneric = FOUR_CHAR_CODE('otan'),
1332  kOTCfgTypeAppleTalk = FOUR_CHAR_CODE('atlk'),
1333  kOTCfgTypeTCPv4 = FOUR_CHAR_CODE('tcp4'),
1334  kOTCfgTypeTCPv6 = FOUR_CHAR_CODE('tcp6'),
1335  kOTCfgTypeDNS = FOUR_CHAR_CODE('dns '),
1336  kOTCfgTypeRemote = FOUR_CHAR_CODE('ara '),
1337  kOTCfgTypeDial = FOUR_CHAR_CODE('dial'),
1338  kOTCfgTypeModem = FOUR_CHAR_CODE('modm'),
1339  kOTCfgTypeInfrared = FOUR_CHAR_CODE('infr'),
1340  kOTCfgClassSetOfSettings = FOUR_CHAR_CODE('otsc'),
1341  kOTCfgTypeSetOfSettings = FOUR_CHAR_CODE('otst')
1342  };
1343 
1351  enum
1352  {
1353  kOTCfgSetsStructPref = FOUR_CHAR_CODE('stru'),
1354  kOTCfgSetsElementPref = FOUR_CHAR_CODE('elem'),
1355  kOTCfgSetsVectorPref = FOUR_CHAR_CODE('vect')
1356  };
1357 
1362  enum
1363  {
1364  kOTCfgSetsFlagActiveBit = 0
1365  };
1366 
1367  enum
1368  {
1369  kOTCfgSetsFlagActiveMask = 0x0001
1370  };
1371 
1373  enum
1374  {
1375  kOTCfgIndexSetsActive = 0,
1376  kOTCfgIndexSetsEdit = 1,
1377  kOTCfgIndexSetsLimit = 2
1378  };
1379 
1381  {
1382  UInt32 fFlags;
1383  UInt32 fTimes[2];
1384  };
1385  typedef struct CfgSetsStruct CfgSetsStruct;
1387  {
1388  CfgEntityRef fEntityRef;
1389  CfgEntityInfo fEntityInfo;
1390  };
1391  typedef struct CfgSetsElement CfgSetsElement;
1393  {
1394  UInt32 fCount;
1395  CfgSetsElement fElements[1];
1396  };
1397  typedef struct CfgSetsVector CfgSetsVector;
1398 
1399  enum
1400  {
1401  kOTCfgFlagRecordVersion = 0x01200120,
1402  kOTCfgProtocolActive = (1 << 0),
1403  kOTCfgProtocolMultihoming = (1 << 16),
1404  kOTCfgProtocolLimit = 0x00010001
1405  };
1406 
1408  {
1409  UInt32 fVersion;
1410  UInt32 fFlags;
1411  };
1412  typedef struct OTCfgFlagRecord OTCfgFlagRecord;
1413 
1418  enum
1419  {
1420  kOTCfgUserVisibleNamePref = FOUR_CHAR_CODE('pnam'),
1421  kOTCfgVersionPref = FOUR_CHAR_CODE('cvrs'),
1422  kOTCfgPortUserVisibleNamePref = FOUR_CHAR_CODE('port'),
1423  kOTCfgPortUIName = FOUR_CHAR_CODE('otgn'),
1425  FOUR_CHAR_CODE('prot'),
1427  kOTCfgAdminPasswordPref = FOUR_CHAR_CODE('pwrd'),
1429  FOUR_CHAR_CODE('opts')
1430  };
1431 
1434  enum
1435  {
1436  kOTCfgUserModePref =
1437  FOUR_CHAR_CODE('ulvl'),
1438  kOTCfgPrefWindowPositionPref = FOUR_CHAR_CODE(
1439  'wpos')
1440  };
1441 
1444  enum
1445  {
1446  kOTCfgCompatNamePref = FOUR_CHAR_CODE('cnam'),
1447  kOTCfgCompatResourceNamePref = FOUR_CHAR_CODE('resn')
1448  };
1449 
1452  enum
1453  {
1454  kOTCfgCompatSelectedPref = FOUR_CHAR_CODE('ccfg'),
1455  kOTCfgCompatResourceIDPref = FOUR_CHAR_CODE('resi')
1456  };
1457 
1463  typedef UInt16 OTCfgUserMode;
1464  enum
1465  {
1466  kOTCfgBasicUserMode = 1,
1467  kOTCfgAdvancedUserMode = 2,
1468  kOTCfgAdminUserMode = 3
1470  };
1471 
1478  typedef UInt32 OTCfgUserMode32;
1479 
1484  enum
1485  {
1486  kOTCfgATalkGeneralPref = FOUR_CHAR_CODE('atpf'),
1487  kOTCfgATalkLocksPref = FOUR_CHAR_CODE('lcks'),
1489  FOUR_CHAR_CODE('ptfm')
1490  };
1491 
1494  enum
1495  {
1496  kOTCfgATalkNetworkArchitecturePref =
1497  FOUR_CHAR_CODE('neta')
1498  };
1499 
1506  {
1507  UInt16 fVersion;
1508  UInt16 fSize;
1509  UInt32 fAgingCount;
1511  UInt32 fProtAddrLen;
1512  UInt32 fHWAddrLen;
1513  UInt32 fMaxEntries;
1518  };
1520 
1536  enum
1537  {
1538  kOTCfgATalkInactive = 0,
1539  kOTCfgATalkDefaultUnloadTimeout = 5,
1540  kOTCfgATalkActive = 0xFF
1541  };
1542 
1549  {
1550  UInt16 fVersion;
1551  UInt16 fSize;
1552  UInt32 fTSDUSize;
1555  UInt8 fNode;
1556  UInt16 fNetwork;
1565  UInt32 fMaxAddrTries;
1568  UInt8 fMyZone[33];
1569  };
1571 
1578  {
1579  UInt16 fVersion;
1580  UInt16 fSize;
1581  UInt32 fTSDUSize;
1585  UInt8 fPad;
1586  };
1588 
1595  {
1596  UInt16 fVersion;
1597  UInt16 fSize;
1604  UInt8 fPad;
1605  };
1607 
1614  {
1615  UInt16 fVersion;
1616  UInt16 fSize;
1617  UInt32 fTSDUSize;
1623  };
1625 
1632  {
1633  UInt16 fVersion;
1634  UInt16 fSize;
1636  UInt32 fTSDUSize;
1637  UInt32 fETSDUSize;
1650  };
1652 
1659  {
1660  UInt16 fVersion;
1661  UInt16 fSize;
1668  };
1670 
1680  {
1681  UInt16 fVersion;
1682  UInt16 fSize;
1685  UInt8
1688  };
1690 
1696  {
1697  UInt16 fVersion;
1698  UInt16 fNumPrefs;
1699  UInt32 fPort;
1701  void *fLink;
1702  void *fPrefs[8];
1704  OTCfgATalkGeneralDDP ddpPrefs;
1705  OTCfgATalkGeneralNBP nbpPrefs;
1706  OTCfgATalkGeneralZIP zipPrefs;
1707  OTCfgATalkGeneralATP atpPrefs;
1708  OTCfgATalkGeneralADSP adspPrefs;
1709  OTCfgATalkGeneralPAP papPrefs;
1710  OTCfgATalkGeneralASP aspPrefs;
1711  };
1712  typedef struct OTCfgATalkGeneral OTCfgATalkGeneral;
1713 
1719  {
1720  UInt16 fLocks;
1721  };
1722  typedef struct OTCfgATalkLocks OTCfgATalkLocks;
1723 
1724  enum
1725  {
1726  kOTCfgATalkPortLockMask = 0x01,
1727  kOTCfgATalkZoneLockMask = 0x02,
1728  kOTCfgATalkAddressLockMask = 0x04,
1729  kOTCfgATalkConnectionLockMask = 0x08,
1730  kOTCfgATalkSharingLockMask = 0x10
1731  };
1732 
1739  {
1740  UInt16 fDeviceType;
1741  };
1743 
1749  {
1750  UInt32 fVersion;
1752  };
1756  enum
1757  {
1758  kOTCfgATalkNoBadRouterUpNotification = 1 << 0,
1759  kOTCfgATalkNoAllNodesTakenNotification = 1 << 1,
1760  kOTCfgATalkNoFixedNodeTakenNotification = 1 << 2,
1761  kOTCfgATalkNoInternetAvailableNotification = 1 << 3,
1762  kOTCfgATalkNoCableRangeChangeNotification = 1 << 4,
1763  kOTCfgATalkNoRouterDownNotification = 1 << 5,
1764  kOTCfgATalkNoRouterUpNotification = 1 << 6,
1765  kOTCfgATalkNoFixedNodeBadNotification = 1 << 7
1766  };
1767 
1772  enum
1773  {
1774  kOTCfgIRGeneralPref = FOUR_CHAR_CODE('atpf')
1775  };
1776 
1777  typedef UInt16 OTCfgIRPortSetting;
1778  enum
1779  {
1780  kOTCfgIRIrDA = 0,
1781  kOTCfgIRIRTalk = 1
1782  };
1783 
1785  {
1786  UInt32 fVersion;
1787  UInt32 fPortRef;
1788  OTCfgIRPortSetting
1791  Boolean fDisplayIRControlStrip;
1792  };
1793  typedef struct OTCfgIRGeneral OTCfgIRGeneral;
1794 
1799  enum
1800  {
1801  kOTCfgTCPInterfacesPref =
1802  FOUR_CHAR_CODE('iitf'),
1803  kOTCfgTCPDeviceTypePref = FOUR_CHAR_CODE('dtyp'),
1804  kOTCfgTCPRoutersListPref = FOUR_CHAR_CODE('irte'),
1806  FOUR_CHAR_CODE('ihst'),
1808  FOUR_CHAR_CODE('idns'),
1810  FOUR_CHAR_CODE('isdm'),
1812  FOUR_CHAR_CODE('dclt'),
1814  FOUR_CHAR_CODE('dcid'),
1815  kOTCfgTCPUnloadAttrPref = FOUR_CHAR_CODE('unld'),
1816  kOTCfgTCPLocksPref = FOUR_CHAR_CODE('stng'),
1817  kOTCfgTCPPushBelowIPPref = FOUR_CHAR_CODE(
1818  'crpt'),
1820  FOUR_CHAR_CODE('blip')
1822  };
1823 
1828  typedef UInt8 OTCfgTCPConfigMethod;
1829  enum
1830  {
1831  kOTCfgManualConfig = 0,
1832  kOTCfgRARPConfig = 1,
1833  kOTCfgBOOTPConfig = 2,
1834  kOTCfgDHCPConfig = 3,
1835  kOTCfgMacIPConfig = 4
1836  };
1837 
1849 #define OTCfgTCPInterfacesPackedPartPointer(h) \
1850  ((OTCfgTCPInterfacesPackedPart *)&( \
1851  (**((OTCfgTCPInterfacesPacked **)h)) \
1852  .fAppleTalkZone \
1853  [(**((OTCfgTCPInterfacesPacked **)h)).fAppleTalkZone[0] + 1]))
1854 
1856  {
1857  UInt8 path[36];
1858  UInt8 module[32];
1859  UInt32 framing;
1860  };
1870  {
1871  UInt16 fCount;
1872  UInt8 fConfigMethod;
1873  UInt8 fIPAddress[4];
1874  UInt8 fSubnetMask[4];
1875  UInt8 fAppleTalkZone[256];
1876  UInt8 part[72];
1877  };
1886  {
1887  UInt16 fCount;
1888  UInt8 pad1;
1890  UInt32 fIPAddress;
1891  UInt32 fSubnetMask;
1892  Str32 fAppleTalkZone;
1893  UInt8 pad2;
1894  UInt8 path[36];
1895  UInt8 module[32];
1896  UInt32 framing;
1897  };
1899 
1905  {
1906  UInt32 fToHost;
1907  UInt32 fViaHost;
1908  UInt16 fLocal;
1909  UInt16 fHost;
1910  };
1912 
1918  {
1919  UInt16 fCount;
1920  OTCfgTCPRoutersListEntry fList[1];
1921  };
1930  {
1931  UInt8 fPrimaryInterfaceIndex;
1932  UInt8 fLocalDomainName[256];
1933  UInt8 fAdmindomain[256];
1934  };
1935  typedef struct OTCfgTCPSearchList OTCfgTCPSearchList;
1936 
1942  {
1943  UInt16 fCount;
1944  UInt32 fAddressesList[1];
1945  };
1947 
1955  {
1956  UInt16 fCount;
1957  Str255 fFirstSearchDomains;
1959  };
1961 
1967  {
1968  UInt32 ipIPAddr;
1969  UInt32 ipConfigServer;
1970  UInt32 ipLeaseGrantTime;
1971  UInt32 ipLeaseExpirationTime;
1972  };
1974 
1980  typedef UInt16 OTCfgTCPUnloadAttr;
1981  enum
1982  {
1983  kOTCfgTCPActiveLoadedOnDemand = 1,
1984  kOTCfgTCPActiveAlwaysLoaded = 2,
1985  kOTCfgTCPInactive = 3
1986  };
1987 
1995  {
1996  UInt8 pad1;
1998  UInt8 pad2;
1999  UInt8 lockConfigurePopup;
2000  UInt8 pad3;
2001  UInt8 lockAppleTalkZone;
2002  UInt8 pad4;
2003  UInt8 lockIPAddress;
2004  UInt8 pad5;
2005  UInt8 lockLocalDomainName;
2006  UInt8 pad6;
2007  UInt8 lockSubnetMask;
2008  UInt8 pad7;
2009  UInt8 lockRoutersList;
2010  UInt8 pad8;
2011  UInt8 lockDNSServersList;
2012  UInt8 pad9;
2013  UInt8 lockAdminDomainName;
2014  UInt8 pad10;
2015  UInt8 lockSearchDomains;
2016  UInt8 pad11;
2017  UInt8 lockUnknown;
2018  UInt8 pad12;
2019  UInt8 lock8023;
2020  UInt8 pad13;
2021  UInt8 lockDHCPClientID;
2022  UInt8 pad14;
2023  };
2024  typedef struct OTCfgTCPLocks OTCfgTCPLocks;
2033  enum
2034  {
2035  kOTCfgTCPLocksPrefPre2_0Size = 25,
2036  kOTCfgTCPLocksPref2_0Size = 27,
2037  kOTCfgTCPLocksPrefCurrentSize = kOTCfgTCPLocksPref2_0Size
2038  };
2039 
2042  enum
2043  {
2044  kOTCfgDontDoPMTUDiscoveryMask = 0x0001,
2046  0x0002,
2049  0x0008,
2051  0x0010
2052  };
2053 
2058  enum
2059  {
2060  kOTCfgTypeDNSidns = FOUR_CHAR_CODE('idns'),
2061  kOTCfgTypeDNSisdm = FOUR_CHAR_CODE('isdm'),
2062  kOTCfgTypeDNSihst = FOUR_CHAR_CODE('ihst'),
2063  kOTCfgTypeDNSstng = FOUR_CHAR_CODE('stng')
2064  };
2065 
2070  enum
2071  {
2072  kOTCfgModemGeneralPrefs = FOUR_CHAR_CODE('ccl '),
2073  kOTCfgModemLocksPref = FOUR_CHAR_CODE('lkmd'),
2075  FOUR_CHAR_CODE('mdpw')
2076  };
2077 
2080  enum
2081  {
2082  kOTCfgModemApplicationPref =
2083  FOUR_CHAR_CODE('mapt')
2084  };
2085 
2091  enum
2092  {
2093  kOTCfgModemDialToneNormal = 0,
2094  kOTCfgModemDialToneIgnore = 1,
2095  kOTCfgModemDialToneManual = 2
2096  };
2097 
2103  {
2104  UInt32 version;
2106  UInt8 pad;
2107  FSSpec modemScript;
2111  char lowerLayerName[36];
2112  };
2113  typedef struct OTCfgModemGeneral OTCfgModemGeneral;
2114 
2120  {
2121  UInt32 version;
2122  UInt32 port;
2123  UInt32 script;
2124  UInt32 speaker;
2125  UInt32
2127  };
2128  typedef struct OTCfgModemLocks OTCfgModemLocks;
2129 
2132  {
2133  UInt32 version;
2137  };
2139 
2156  enum
2157  {
2158  kOTCfgRemoteDefaultVersion = 0x00020003,
2159  kOTCfgRemoteAcceptedVersion = 0x00010000
2160  };
2161 
2164  enum
2165  {
2166  kOTCfgRemoteARAPPref = FOUR_CHAR_CODE('arap'),
2168  FOUR_CHAR_CODE('cadr'),
2171  FOUR_CHAR_CODE('ccha'),
2172  kOTCfgRemoteDialingPref = FOUR_CHAR_CODE('cdia'),
2174  FOUR_CHAR_CODE('cead'),
2176  FOUR_CHAR_CODE('clks'),
2178  FOUR_CHAR_CODE('cmsc'),
2179  kOTCfgRemoteConnectPref = FOUR_CHAR_CODE('conn'),
2180  kOTCfgRemoteUserPref = FOUR_CHAR_CODE('cusr'),
2182  FOUR_CHAR_CODE('dass'),
2183  kOTCfgRemoteIPCPPref = FOUR_CHAR_CODE('ipcp'),
2184  kOTCfgRemoteLCPPref = FOUR_CHAR_CODE('lcp '),
2186  FOUR_CHAR_CODE('logo'),
2187  kOTCfgRemotePasswordPref = FOUR_CHAR_CODE('pass'),
2188  kOTCfgRemoteTerminalPref = FOUR_CHAR_CODE('term'),
2189  kOTCfgRemoteUserModePref = FOUR_CHAR_CODE('usmd'),
2191  FOUR_CHAR_CODE('csec'),
2192  kOTCfgRemoteX25Pref = FOUR_CHAR_CODE('x25 ')
2193  };
2194 
2197  enum
2198  {
2199  kOTCfgRemoteServerPortPref =
2200  FOUR_CHAR_CODE('port'),
2201  kOTCfgRemoteServerPref = FOUR_CHAR_CODE('srvr'),
2203  FOUR_CHAR_CODE('capt')
2204  };
2205 
2212  {
2213  UInt32 version;
2214  char lowerLayerName[36];
2216  };
2217  typedef struct OTCfgRemoteARAP OTCfgRemoteARAP;
2218 
2223  typedef UInt32 OTCfgRemoteRedialMode;
2224  enum
2225  {
2226  kOTCfgRemoteRedialNone = 2,
2227  kOTCfgRemoteRedialMain = 3,
2228  kOTCfgRemoteRedialMainAndAlternate = 4
2229  };
2230 
2236  {
2237  UInt32 version;
2238  UInt32 fType;
2239  UInt32 additionalPtr;
2241  UInt32 redialTries;
2242  UInt32 redialDelay;
2243  UInt32 pad;
2244  };
2245  typedef struct OTCfgRemoteDialing OTCfgRemoteDialing;
2246 
2253  {
2254  UInt32 pad;
2256  };
2258 
2264  {
2265  UInt32 version;
2266  UInt32 name;
2267  UInt32 password;
2268  UInt32 number;
2269  UInt32 errorCheck;
2273  UInt32 termWindow;
2275  UInt32 reminder;
2276  UInt32 autoConn;
2278  UInt32 redial;
2279  UInt32
2291  UInt32 reserved[1];
2292  };
2294 
2300  {
2301  UInt32 version;
2304  };
2306 
2309  enum
2310  {
2311  kOTCfgRemotePPPConnectScriptNone = 0,
2314  2
2315  };
2316 
2317  typedef UInt32 OTCfgRemoteProtocol;
2318  enum
2319  {
2320  kOTCfgRemoteProtocolPPP = 1,
2323  3
2324  };
2325 
2331  {
2332  UInt32 version;
2333  UInt32 fType;
2334  UInt32 isGuest;
2335  UInt32 canInteract;
2336  UInt32 showStatus;
2337  UInt32 passwordSaved;
2346  OTCfgRemoteProtocol serialProtocolMode;
2347  UInt32 passwordPtr;
2349  UInt32 userNamePtr;
2351  UInt32 addressLength;
2352  UInt32 addressPtr;
2356  UInt32 chatScriptPtr;
2358  UInt32 additional;
2364  };
2365  typedef struct OTCfgRemoteConnect OTCfgRemoteConnect;
2366 
2369  {
2370  UInt32 version;
2371  UInt32 isAssisted;
2373  Str31 countryCodeStr;
2374  };
2376 
2385  {
2386  UInt32 version;
2387  UInt32 reserved[2];
2388  UInt32 maxConfig;
2389  UInt32 maxTerminate;
2392  UInt32 timerPeriod;
2401  };
2402  typedef struct OTCfgRemoteIPCP OTCfgRemoteIPCP;
2403 
2412  {
2413  UInt32 version;
2414  UInt32 reserved[2];
2415  char lowerLayerName[36];
2417  UInt32 maxConfig;
2418  UInt32 maxTerminate;
2421  UInt32 timerPeriod;
2422  UInt32 echoTrigger;
2423  UInt32 echoTimeout;
2424  UInt32 echoRetries;
2426  UInt32 mruSize;
2427  UInt32 upperMRULimit;
2428  UInt32 lowerMRULimit;
2429  UInt32 txACCMap;
2430  UInt32 rcACCMap;
2431  UInt32 isNoLAPB;
2432  };
2433  typedef struct OTCfgRemoteLCP OTCfgRemoteLCP;
2434 
2436  typedef UInt32 OTCfgRemoteLogLevel;
2437  enum
2438  {
2439  kOTCfgRemoteLogLevelNormal = 0,
2440  kOTCfgRemoteLogLevelVerbose = 1
2441  };
2442 
2448  {
2449  UInt32 version;
2450  OSType fType;
2451  UInt32 additionalPtr;
2456  UInt32 reserved[3];
2457  };
2459 
2466  {
2467  UInt8 data[256];
2468  };
2470 
2473  {
2474  UInt32 fVersion;
2490  UInt8 pad;
2491  SInt16 fFontSize;
2492  Str255 fFontName;
2493  };
2495 
2502  {
2503  UInt32 version;
2505  Str255 adminPassword;
2506  };
2508 
2515  {
2516  UInt32 version;
2517  UInt32 fType;
2519  FSSpec script;
2520  UInt8 address[256];
2521  UInt8 userName[256];
2522  UInt8 closedUserGroup[5];
2523  Boolean reverseCharge;
2524  };
2525  typedef struct OTCfgRemoteX25 OTCfgRemoteX25;
2526 
2532  {
2533  UInt32 version;
2534  SInt16 configCount;
2536  SInt16 configIDs[1];
2538  };
2539  typedef struct OTCfgRemoteServer OTCfgRemoteServer;
2540 
2542  typedef UInt32 OTCfgRemoteAnswerMode;
2543  enum
2544  {
2545  kOTCfgAnswerModeOff = 0,
2548  2,
2550  };
2551 
2552  typedef UInt32 OTCfgRemoteNetworkProtocol;
2553  enum
2554  {
2555  kOTCfgNetProtoNone = 0,
2556  kOTCfgNetProtoIP = 1,
2558  kOTCfgNetProtoAny = (kOTCfgNetProtoIP |
2560  };
2561 
2562  typedef UInt8 OTCfgRemoteNetAccessMode;
2563  enum
2564  {
2565  kOTCfgNetAccessModeUnrestricted =
2566  0,
2569  1
2570  };
2571 
2577  {
2578  UInt32 version;
2579  SInt16
2582  Str255 password;
2586  UInt8 pad;
2588  OTCfgRemoteProtocol serialProtoFlags;
2589  OTCfgRemoteNetworkProtocol networkProtoFlags;
2590  OTCfgRemoteNetAccessMode netAccessMode;
2592  char portName[64];
2593  char serialLayerName[36];
2595  };
2597 
2603  {
2604  UInt32 version;
2607  UInt32 tabChoice;
2610  UInt32 fSetupVisible;
2611  };
2613 
2627 #if OLDROUTINENAMES
2628  enum
2629  {
2630  kOTCfgTypeStruct = kOTCfgSetsStructPref,
2631  kOTCfgTypeElement = kOTCfgSetsElementPref,
2632  kOTCfgTypeVector = kOTCfgSetsVectorPref
2633  };
2634 
2639  enum
2640  {
2641  kOTCfgTypeConfigName = kOTCfgCompatNamePref,
2642  kOTCfgTypeConfigSelected = kOTCfgCompatSelectedPref,
2643  kOTCfgTypeUserLevel = kOTCfgUserModePref,
2644  kOTCfgTypeWindowPosition = kOTCfgPrefWindowPositionPref
2645  };
2646 
2656  enum
2657  {
2658  kOTCfgTypeAppleTalkVersion = kOTCfgVersionPref,
2659  kOTCfgTypeTCPcvrs = kOTCfgVersionPref,
2660  kOTCfgTypeTCPVersion = kOTCfgVersionPref,
2661  kOTCfgTypeTCPPort = kOTCfgPortUserVisibleNamePref,
2662  kOTCfgTypeAppleTalkPort = kOTCfgPortUserVisibleNamePref,
2663  kOTCfgTypeTCPProtocol = kOTCfgProtocolUserVisibleNamePref,
2664  kOTCfgTypeAppleTalkProtocol = kOTCfgProtocolUserVisibleNamePref,
2665  kOTCfgTypeAppleTalkPassword = kOTCfgAdminPasswordPref,
2666  kOTCfgTypeDNSPassword = kOTCfgAdminPasswordPref,
2667  kOTCfgTypeTCPPassword = kOTCfgAdminPasswordPref,
2668  kOTCfgTypeRemoteARAP = kOTCfgRemoteARAPPref,
2669  kOTCfgTypeRemoteAddress = kOTCfgRemoteAddressPref,
2670  kOTCfgTypeRemoteChat = kOTCfgRemoteChatPref,
2671  kOTCfgTypeRemoteDialing = kOTCfgRemoteDialingPref,
2672  kOTCfgTypeRemoteExtAddress = kOTCfgRemoteAlternateAddressPref,
2673  kOTCfgTypeRemoteClientLocks = kOTCfgRemoteClientLocksPref,
2674  kOTCfgTypeRemoteClientMisc = kOTCfgRemoteClientMiscPref,
2675  kOTCfgTypeRemoteConnect = kOTCfgRemoteConnectPref,
2676  kOTCfgTypeRemoteUser = kOTCfgRemoteUserPref,
2677  kOTCfgTypeRemoteDialAssist = kOTCfgRemoteDialAssistPref,
2678  kOTCfgTypeRemoteIPCP = kOTCfgRemoteIPCPPref,
2679  kOTCfgTypeRemoteLCP = kOTCfgRemoteLCPPref,
2680  kOTCfgTypeRemoteLogOptions = kOTCfgRemoteLogOptionsPref,
2681  kOTCfgTypeRemotePassword = kOTCfgRemotePasswordPref,
2682  kOTCfgTypeRemoteServer = kOTCfgRemoteServerPref,
2683  kOTCfgTypeRemoteTerminal = kOTCfgRemoteTerminalPref,
2684  kOTCfgTypeRemoteUserMode = kOTCfgRemoteUserModePref,
2685  kOTCfgTypeRemoteX25 = kOTCfgRemoteX25Pref,
2686  kOTCfgTypeRemoteApp = kOTCfgRemoteApplicationPref,
2687  kOTCfgTypeRemotePort = kOTCfgRemoteServerPortPref,
2688  kOTCfgTypeAppleTalkPrefs = kOTCfgATalkGeneralPref,
2689  kOTCfgTypeAppleTalkLocks = kOTCfgATalkLocksPref,
2690  kOTCfgTypeAppleTalkPortFamily = kOTCfgATalkPortDeviceTypePref,
2691  kOTCfgTypeInfraredPrefs = kOTCfgIRGeneralPref,
2692  kOTCfgTypeInfraredGlobal = FOUR_CHAR_CODE('irgo'),
2693  kOTCfgTypeTCPdclt = kOTCfgTCPDHCPLeaseInfoPref,
2694  kOTCfgTypeTCPSearchList = kOTCfgTCPSearchListPref,
2695  kOTCfgTypeTCPihst = kOTCfgTCPSearchListPref,
2696  kOTCfgTypeTCPidns = kOTCfgTCPDNSServersListPref,
2697  kOTCfgTypeTCPServersList = kOTCfgTCPDNSServersListPref,
2698  kOTCfgTypeTCPiitf = kOTCfgTCPInterfacesPref,
2699  kOTCfgTypeTCPPrefs = kOTCfgTCPInterfacesPref,
2700  kOTCfgTypeTCPisdm = kOTCfgTCPSearchDomainsPref,
2701  kOTCfgTypeTCPDomainsList = kOTCfgTCPSearchDomainsPref,
2702  kOTCfgTypeTCPdcid = kOTCfgTCPDHCPClientIDPref,
2703  kOTCfgTypeTCPdtyp = kOTCfgTCPDeviceTypePref,
2704  kOTCfgTypeTCPRoutersList = kOTCfgTCPRoutersListPref,
2705  kOTCfgTypeTCPirte = kOTCfgTCPRoutersListPref,
2706  kOTCfgTypeTCPstng = kOTCfgTCPLocksPref,
2707  kOTCfgTypeTCPLocks = kOTCfgTCPLocksPref,
2708  kOTCfgTypeTCPunld = kOTCfgTCPUnloadAttrPref,
2709  kOTCfgTypeTCPUnloadType = kOTCfgTCPUnloadAttrPref,
2710  kOTCfgTypeTCPalis = FOUR_CHAR_CODE('alis'),
2711  kOTCfgTypeTCPara =
2712  FOUR_CHAR_CODE('ipcp'),
2714  kOTCfgTypeTCPDevType = FOUR_CHAR_CODE('dvty'),
2715  kOTCfgTypeModemModem = kOTCfgModemGeneralPrefs,
2716  kOTCfgTypeModemLocks = kOTCfgModemLocksPref,
2717  kOTCfgTypeModemAdminPswd = kOTCfgModemAdminPasswordPref,
2718  kOTCfgTypeModemApp = kOTCfgModemApplicationPref
2719  };
2720 
2723  enum
2724  {
2725  kOTCfgIndexAppleTalkAARP = 0,
2726  kOTCfgIndexAppleTalkDDP = 1,
2727  kOTCfgIndexAppleTalkNBP = 2,
2728  kOTCfgIndexAppleTalkZIP = 3,
2729  kOTCfgIndexAppleTalkATP = 4,
2730  kOTCfgIndexAppleTalkADSP = 5,
2731  kOTCfgIndexAppleTalkPAP = 6,
2732  kOTCfgIndexAppleTalkASP = 7,
2733  kOTCfgIndexAppleTalkLast = 7
2734  };
2735 
2739  struct OTCfgAppleTalkPrefs
2740  {
2741  UInt16 fVersion;
2742  UInt16 fNumPrefs;
2743  UInt32 fPort;
2744  void *fLink;
2745  void *fPrefs[8];
2746  };
2747  typedef struct OTCfgAppleTalkPrefs OTCfgAppleTalkPrefs;
2750  typedef OTCfgATalkGeneralAARP OTCfgAARPPrefs;
2752  typedef OTCfgATalkGeneralDDP OTCfgDDPPrefs;
2755  struct OTCfgATPFPrefs
2756  {
2757  OTCfgAppleTalkPrefs fAT;
2758  OTCfgAARPPrefs fAARP;
2759  OTCfgDDPPrefs fDDP;
2760  char fFill[122];
2761  };
2762  typedef struct OTCfgATPFPrefs OTCfgATPFPrefs;
2764  struct OTCfgIRPrefs
2765  {
2766  CfgPrefsHeader fHdr;
2767  UInt32 fPort;
2768  OTCfgIRPortSetting fPortSetting;
2769  Boolean fNotifyOnDisconnect;
2770  Boolean fDisplayIRControlStrip;
2771  Point fWindowPosition;
2772  };
2773  typedef struct OTCfgIRPrefs OTCfgIRPrefs;
2775  struct OTCfgIRGlobal
2776  {
2777  CfgPrefsHeader fHdr;
2778  UInt32 fOptions;
2779  UInt32 fNotifyMask;
2780  UInt32 fUnloadTimeout;
2781  };
2782  typedef struct OTCfgIRGlobal OTCfgIRGlobal;
2785  typedef OTCfgTCPDHCPLeaseInfo OTCfgDHCPRecord;
2786  typedef OTCfgTCPSearchList OTCfgHSTFPrefs;
2787  typedef OTCfgTCPRoutersListEntry OTCfgIRTEEntry;
2788  typedef OTCfgTCPRoutersList OTCfgIRTEPrefs;
2792  struct OTCfgIDNSPrefs
2793  {
2794  short fCount;
2795  UInt32 fAddressesList;
2796  };
2797  typedef struct OTCfgIDNSPrefs OTCfgIDNSPrefs;
2803 #define kIITFPartP(h) \
2804  ((OTCfgIITFPrefsPart *)&( \
2805  (**((OTCfgIITFPrefs **)h)) \
2806  .fAppleTalkZone[(**((OTCfgIITFPrefs **)h)).fAppleTalkZone[0] + 1]))
2807 
2817  struct OTCfgIITFPrefsPart
2818  {
2819  char path[36];
2820  char module[32];
2821  unsigned long framing;
2822  };
2823  typedef struct OTCfgIITFPrefsPart OTCfgIITFPrefsPart;
2825  struct OTCfgIITFPrefs
2826  {
2827  short fCount;
2828  UInt8 fConfigMethod;
2831  UInt8 fIPAddress[4];
2832  UInt8 fSubnetMask[4];
2833  UInt8 fAppleTalkZone[256];
2835  UInt8 fFiller;
2836  OTCfgIITFPrefsPart part;
2837  };
2838  typedef struct OTCfgIITFPrefs OTCfgIITFPrefs;
2842  struct OTCfgISDMPrefs
2843  {
2844  short fCount;
2845  Str255 fDomainsList;
2846  };
2847  typedef struct OTCfgISDMPrefs OTCfgISDMPrefs;
2850  typedef OTCfgModemGeneral OTCfgRemoteConfigModem;
2851  typedef OTCfgModemApplication OTCfgModemAppPrefs;
2853  enum
2854  {
2855  kOTCfgRemoteMaxPasswordLength = 255,
2856  kOTCfgRemoteMaxPasswordSize = (255 + 1),
2857  kOTCfgRemoteMaxUserNameLength = 255,
2858  kOTCfgRemoteMaxUserNameSize = (255 + 1),
2859  kOTCfgRemoteMaxAddressLength = 255,
2860  kOTCfgRemoteMaxAddressSize = (255 + 1),
2861  kOTCfgRemoteMaxServerNameLength = 32,
2862  kOTCfgRemoteMaxServerNameSize = (32 + 1),
2863  kOTCfgRemoteMaxMessageLength = 255,
2864  kOTCfgRemoteMaxMessageSize = (255 + 1),
2865  kOTCfgRemoteMaxX25ClosedUserGroupLength = 4,
2866  kOTCfgRemoteInfiniteSeconds = (long)0xFFFFFFFF,
2867  kOTCfgRemoteMinReminderMinutes = 1,
2868  kOTCfgRemoteChatScriptFileCreator = FOUR_CHAR_CODE('ttxt'),
2869  kOTCfgRemoteChatScriptFileType = FOUR_CHAR_CODE('TEXT'),
2870  kOTCfgRemoteMaxChatScriptLength = 0x8000
2871  };
2872 
2875  typedef OTCfgRemoteAlternateAddress OTCfgRemoteAddress;
2877  struct OTCfgRemoteScript
2878  {
2879  UInt32 version;
2880  UInt32 fType;
2881  void *additional;
2882  UInt32 scriptType;
2883  UInt32 scriptLength;
2884  UInt8 *scriptData;
2885  };
2886  typedef struct OTCfgRemoteScript OTCfgRemoteScript;
2889  typedef OTCfgRemoteX25 OTCfgRemoteX25Info;
2891  typedef OTCfgRemoteApplication OTCfgRemoteConfigCAPT;
2894  struct OTCfgRemoteUserMessage
2895  {
2896  UInt32 version;
2897  SInt32 messageID;
2898  UInt8 userMessage[256];
2899  UInt8 userDiagnostic[256];
2900  };
2901  typedef struct OTCfgRemoteUserMessage OTCfgRemoteUserMessage;
2903  struct OTCfgRemoteDisconnect
2904  {
2905  UInt32 whenSeconds;
2906  UInt32 showStatus;
2907  };
2908  typedef struct OTCfgRemoteDisconnect OTCfgRemoteDisconnect;
2910  struct OTCfgRemoteIsRemote
2911  {
2912  UInt32 net;
2913  UInt32 node;
2914  UInt32 isRemote;
2915  };
2916  typedef struct OTCfgRemoteIsRemote OTCfgRemoteIsRemote;
2918  struct OTCfgRemoteConnectInfo
2919  {
2920  OTCfgRemoteConnect *connectInfo;
2921  };
2922  typedef struct OTCfgRemoteConnectInfo OTCfgRemoteConnectInfo;
2924  enum
2925  {
2926  kOTCfgRemoteStatusIdle = 1,
2927  kOTCfgRemoteStatusConnecting = 2,
2928  kOTCfgRemoteStatusConnected = 3,
2929  kOTCfgRemoteStatusDisconnecting = 4
2930  };
2931 
2934  struct OTCfgRemoteStatus
2935  {
2936  UInt32 status;
2937  Boolean answerEnabled;
2938  char pad00;
2939  UInt32 secondsConnected;
2940  UInt32 secondsRemaining;
2941  UInt8 userName[256];
2942  UInt8 serverName[33];
2943  char pad01;
2944  UInt32 messageIndex;
2945  UInt8 message[256];
2946  UInt32 serialProtocolMode;
2947  UInt8 baudMessage[256];
2948  Boolean isServer;
2949  char pad02;
2950  UInt32 bytesIn;
2951  UInt32 bytesOut;
2952  UInt32 linkSpeed;
2953  UInt32 localIPAddress;
2954  UInt32 remoteIPAddress;
2955  };
2956  typedef struct OTCfgRemoteStatus OTCfgRemoteStatus;
2959  typedef UInt32 OTCfgRemoteEventCode;
2961  typedef CALLBACK_API_C(void, RANotifyProcPtr)(void *contextPtr,
2962  OTCfgRemoteEventCode code,
2963  OSStatus result, void *cookie);
2965  struct OTCfgRemoteNotifier
2966  {
2967  RANotifyProcPtr procPtr;
2968  void *contextPtr;
2969  };
2970  typedef struct OTCfgRemoteNotifier OTCfgRemoteNotifier;
2972  struct OTCfgRemoteRequest
2973  {
2974  SInt8 reserved1[16];
2975  OSErr result;
2976  SInt8 reserved2[8];
2977  SInt16 requestCode;
2978  SInt16 portId;
2979  union
2980  {
2981  OTCfgRemoteNotifier Notifier;
2982  OTCfgRemoteConnect Connect;
2983  OTCfgRemoteDisconnect Disconnect;
2984  OTCfgRemoteStatus Status;
2985  OTCfgRemoteIsRemote IsRemote;
2986  OTCfgRemoteConnectInfo ConnectInfo;
2987  } fType;
2988  };
2989  typedef struct OTCfgRemoteRequest OTCfgRemoteRequest;
2990 #endif
2992 #endif
2994 #if PRAGMA_STRUCT_ALIGN
2995 #pragma options align = reset
2996 #elif PRAGMA_STRUCT_PACKPUSH
2997 #pragma pack(pop)
2998 #elif PRAGMA_STRUCT_PACK
2999 #pragma pack()
3000 #endif
3001 
3002 #ifdef PRAGMA_IMPORT_OFF
3003 #pragma import off
3004 #elif PRAGMA_IMPORT
3005 #pragma import reset
3006 #endif
3007 
3008 #ifdef __cplusplus
3009 }
3010 #endif
3011 
3012 #endif
OSErr Status(short refNum, short csCode, void *csParamPtr)
File Manager (MFS, HFS, and HFS+) Interfaces.
Basic Macintosh data types.
unsigned char Boolean
Definition: MacTypes.h:318
UInt32 OTCfgRemoteRedialMode
Definition: NetworkSetup.h:2223
OSStatus OTCfgInstallNotifier(CfgDatabaseRef dbRef, CfgEntityClass theClass, CfgEntityType theType, OTCfgNotifyProcPtr notifier, void *contextPtr)
@ kOTCfgPrefWindowPositionPref
Definition: NetworkSetup.h:1438
@ kOTCfgAnswerModeCallback
Definition: NetworkSetup.h:2549
@ kOTCfgAnswerModeTransfer
Definition: NetworkSetup.h:2547
@ kOTCfgAnswerModeNormal
Definition: NetworkSetup.h:2546
UInt16 OTCfgUserMode
Definition: NetworkSetup.h:1463
UInt32 OTCfgModemDialogToneMode
Definition: NetworkSetup.h:2090
OSStatus OTCfgDeleteArea(CfgDatabaseRef dbRef, CfgAreaID areaID)
OSStatus OTCfgClosePrefs(CfgEntityAccessID accessID)
UInt32 OTCfgRemoteAnswerMode
Definition: NetworkSetup.h:2542
void OTCfgGetEntityName(const CfgEntityRef *entityRef, Str255 entityName)
OSStatus OTCfgOpenDatabase(CfgDatabaseRef *dbRef)
UInt32 OTCfgRemoteLogLevel
Definition: NetworkSetup.h:2436
OSStatus OTCfgGetTemplate(CfgEntityClass entityClass, CfgEntityType entityType, OSType prefsType, void *data, ByteCount *dataSize)
@ kOTCfgSetsElementPref
Definition: NetworkSetup.h:1354
@ kOTCfgSetsVectorPref
Definition: NetworkSetup.h:1355
OSStatus OTCfgDeletePrefs(CfgEntityAccessID accessID, OSType prefsType)
OSStatus OTCfgDuplicateArea(CfgDatabaseRef dbRef, CfgAreaID sourceAreaID, CfgAreaID destAreaID)
Boolean OTCfgIsSameAreaID(CfgAreaID areaID1, CfgAreaID areaID2)
UInt8 OTCfgATalkUnloadOptions
Definition: NetworkSetup.h:1535
@ kOTCfgATalkPortDeviceTypePref
Definition: NetworkSetup.h:1488
@ kOTCfgATalkLocksPref
Definition: NetworkSetup.h:1487
Handle OTCfgGetDefault(OSType entityType, OSType entityClass, OSType prefsType)
OSStatus OTCfgSetAreaName(CfgDatabaseRef dbRef, CfgAreaID areaID, ConstStr255Param areaName, CfgAreaID *newAreaID)
OSStatus OTCfgCloseDatabase(CfgDatabaseRef *dbRef)
OSStatus OTCfgCommitAreaModifications(CfgDatabaseRef dbRef, CfgAreaID readAreaID, CfgAreaID writeAreaID)
Boolean OTCfgIsSameEntityRef(const CfgEntityRef *entityRef1, const CfgEntityRef *entityRef2, Boolean ignoreArea)
OSStatus OTCfgSetEntityName(CfgDatabaseRef dbRef, const CfgEntityRef *entityRef, ConstStr255Param entityName, CfgEntityRef *newEntityRef)
UInt16 OTCfgTCPUnloadAttr
Definition: NetworkSetup.h:1980
@ kOTCfgDontShutDownOnARPCollisionMask
Definition: NetworkSetup.h:2045
@ kOTCfgOversizeOffNetPacketsMask
Definition: NetworkSetup.h:2048
@ kOTCfgDHCPInformMask
Definition: NetworkSetup.h:2047
@ kOTCfgDHCPDontPreserveLeaseMask
Definition: NetworkSetup.h:2050
@ kOTCfgTCPDNSServersListPref
Definition: NetworkSetup.h:1807
@ kOTCfgTCPLocksPref
Definition: NetworkSetup.h:1816
@ kOTCfgTCPSearchDomainsPref
Definition: NetworkSetup.h:1809
@ kOTCfgTCPSearchListPref
Definition: NetworkSetup.h:1805
@ kOTCfgTCPPushBelowIPListPref
Definition: NetworkSetup.h:1819
@ kOTCfgTCPDHCPClientIDPref
Definition: NetworkSetup.h:1813
@ kOTCfgTCPDeviceTypePref
Definition: NetworkSetup.h:1803
@ kOTCfgTCPDHCPLeaseInfoPref
Definition: NetworkSetup.h:1811
@ kOTCfgTCPPushBelowIPPref
Definition: NetworkSetup.h:1817
@ kOTCfgTCPRoutersListPref
Definition: NetworkSetup.h:1804
@ kOTCfgTCPUnloadAttrPref
Definition: NetworkSetup.h:1815
UInt32 OTCfgUserMode32
Definition: NetworkSetup.h:1478
OSStatus OTCfgGetAreaName(CfgDatabaseRef dbRef, CfgAreaID areaID, Str255 areaName)
OSStatus OTCfgGetEntitiesList(CfgDatabaseRef dbRef, CfgAreaID areaID, CfgEntityClass entityClass, CfgEntityType entityType, ItemCount *itemCount, CfgEntityRef entityRef[], CfgEntityInfo entityInfo[])
OSStatus OTCfgGetAreasList(CfgDatabaseRef dbRef, ItemCount *itemCount, CfgAreaID areaID[], Str255 areaName[])
OSStatus OTCfgDeleteEntity(CfgDatabaseRef dbRef, const CfgEntityRef *entityRef)
UInt32 OTCfgRemotePPPConnectScript
Definition: NetworkSetup.h:2308
@ kOTCfgNetAccessModeThisMacOnly
Definition: NetworkSetup.h:2568
OSStatus OTCfgBeginAreaModifications(CfgDatabaseRef dbRef, CfgAreaID readAreaID, CfgAreaID *writeAreaID)
OSStatus OTCfgOpenPrefs(CfgDatabaseRef dbRef, const CfgEntityRef *entityRef, Boolean writer, CfgEntityAccessID *accessID)
OSStatus OTCfgGetPrefs(CfgEntityAccessID accessID, OSType prefsType, void *data, ByteCount length)
@ kOTCfgPortUIName
Definition: NetworkSetup.h:1423
@ kOTCfgAdminPasswordPref
Definition: NetworkSetup.h:1427
@ kOTCfgProtocolOptionsPref
Definition: NetworkSetup.h:1428
@ kOTCfgVersionPref
Definition: NetworkSetup.h:1421
@ kOTCfgProtocolUserVisibleNamePref
Definition: NetworkSetup.h:1424
@ kOTCfgPortUserVisibleNamePref
Definition: NetworkSetup.h:1422
OSStatus OTCfgGetPrefsTOCCount(CfgEntityAccessID accessID, ItemCount *itemCount)
OSStatus OTCfgDuplicateEntity(CfgDatabaseRef dbRef, const CfgEntityRef *entityRef, const CfgEntityRef *newEntityRef)
void OTCfgGetEntityArea(const CfgEntityRef *entityRef, CfgAreaID *areaID)
OSStatus OTCfgGetPrefsSize(CfgEntityAccessID accessID, OSType prefsType, ByteCount *length)
OSStatus OTCfgGetAreasCount(CfgDatabaseRef dbRef, ItemCount *itemCount)
OSStatus OTCfgSetCurrentArea(CfgDatabaseRef dbRef, CfgAreaID areaID)
OSStatus OTCfgOpenArea(CfgDatabaseRef dbRef, CfgAreaID areaID)
OSStatus OTCfgGetPrefsTOC(CfgEntityAccessID accessID, ItemCount *itemCount, CfgPrefsHeader prefsTOC[])
@ kOTCfgRemoteApplicationPref
Definition: NetworkSetup.h:2202
@ kOTCfgRemoteServerPref
Definition: NetworkSetup.h:2201
typedef CALLBACK_API(void, OTCfgNotifyProcPtr)(void *contextPtr
OSStatus OTCfgGetEntityLogicalName(CfgDatabaseRef dbRef, const CfgEntityRef *entityRef, Str255 entityName)
OSStatus OTCfgAbortAreaModifications(CfgDatabaseRef dbRef, CfgAreaID readAreaID)
SInt16 OTCfgDecrypt(UInt8 *key, UInt8 *data, SInt16 dataLen)
OSStatus OTCfgGetCurrentArea(CfgDatabaseRef dbRef, CfgAreaID *areaID)
void OTCfgChangeEntityArea(CfgEntityRef *entityRef, CfgAreaID newAreaID)
OSStatus OTCfgSetPrefs(CfgEntityAccessID accessID, OSType prefsType, const void *data, ByteCount length)
OSStatus OTCfgCreateEntity(CfgDatabaseRef dbRef, CfgAreaID areaID, const CfgEntityInfo *entityInfo, CfgEntityRef *entityRef)
OSStatus OTCfgCloseArea(CfgDatabaseRef dbRef, CfgAreaID areaID)
OSStatus OTCfgGetEntitiesCount(CfgDatabaseRef dbRef, CfgAreaID areaID, CfgEntityClass entityClass, CfgEntityType entityType, ItemCount *itemCount)
@ kCfgErrConfigLocked
Definition: NetworkSetup.h:103
@ kCfgErrDataTruncated
Definition: NetworkSetup.h:109
@ kCfgErrFileCorrupted
Definition: NetworkSetup.h:110
@ kCfgErrAreaAlreadyExists
Definition: NetworkSetup.h:101
@ kCfgErrEntityNotFound
Definition: NetworkSetup.h:104
@ kCfgErrEntityAlreadyExists
Definition: NetworkSetup.h:105
@ kCfgErrFirst
Definition: NetworkSetup.h:112
@ kCfgErrAreaNotOpen
Definition: NetworkSetup.h:102
@ kCfgErrPrefsTypeNotFound
Definition: NetworkSetup.h:107
@ kCfgErrAreaNotFound
Definition: NetworkSetup.h:100
OSStatus OTCfgCreateArea(CfgDatabaseRef dbRef, ConstStr255Param areaName, CfgAreaID *areaID)
@ kOTCfgRemoteProtocolARAP
Definition: NetworkSetup.h:2321
@ kOTCfgRemoteProtocolAuto
Definition: NetworkSetup.h:2322
@ kOTCfgRemotePPPConnectScriptScript
Definition: NetworkSetup.h:2313
@ kOTCfgRemotePPPConnectScriptTerminalWindow
Definition: NetworkSetup.h:2312
@ kOTCfgNetProtoAT
Definition: NetworkSetup.h:2557
@ kOTCfgNetProtoAny
Definition: NetworkSetup.h:2558
@ kOTCfgRemoteAlternateAddressPref
Definition: NetworkSetup.h:2173
@ kOTCfgRemotePasswordPref
Definition: NetworkSetup.h:2187
@ kOTCfgRemoteClientLocksPref
Definition: NetworkSetup.h:2175
@ kOTCfgRemoteX25Pref
Definition: NetworkSetup.h:2192
@ kOTCfgRemoteTerminalPref
Definition: NetworkSetup.h:2188
@ kOTCfgRemoteAddressPref
Definition: NetworkSetup.h:2167
@ kOTCfgRemoteLogOptionsPref
Definition: NetworkSetup.h:2185
@ kOTCfgRemoteDialingPref
Definition: NetworkSetup.h:2172
@ kOTCfgRemoteSecurityDataPref
Definition: NetworkSetup.h:2190
@ kOTCfgRemoteChatPref
Definition: NetworkSetup.h:2170
@ kOTCfgRemoteUserPref
Definition: NetworkSetup.h:2180
@ kOTCfgRemoteLCPPref
Definition: NetworkSetup.h:2184
@ kOTCfgRemoteConnectPref
Definition: NetworkSetup.h:2179
@ kOTCfgRemoteIPCPPref
Definition: NetworkSetup.h:2183
@ kOTCfgRemoteUserModePref
Definition: NetworkSetup.h:2189
@ kOTCfgRemoteDialAssistPref
Definition: NetworkSetup.h:2181
@ kOTCfgRemoteClientMiscPref
Definition: NetworkSetup.h:2177
OSStatus OTCfgRemoveNotifier(CfgDatabaseRef dbRef, CfgEntityClass theClass, CfgEntityType theType)
@ kOTCfgModemLocksPref
Definition: NetworkSetup.h:2073
@ kOTCfgModemAdminPasswordPref
Definition: NetworkSetup.h:2074
SInt16 OTCfgEncrypt(UInt8 *key, UInt8 *data, SInt16 dataLen)
UInt8 OTCfgTCPConfigMethod
Definition: NetworkSetup.h:1828
Definition: NetworkSetup.h:77
Definition: NetworkSetup.h:64
Definition: NetworkSetup.h:87
UInt16 fVersion
Definition: NetworkSetup.h:89
Definition: NetworkSetup.h:71
Definition: NetworkSetup.h:1387
Definition: NetworkSetup.h:1381
Definition: NetworkSetup.h:1393
Definition: NetworkSetup.h:1506
UInt32 fProtAddrLen
Definition: NetworkSetup.h:1511
UInt16 fSize
Definition: NetworkSetup.h:1508
UInt32 fProbeRetryCount
Definition: NetworkSetup.h:1515
UInt32 fAgingCount
Definition: NetworkSetup.h:1509
UInt32 fHWAddrLen
Definition: NetworkSetup.h:1512
UInt32 fMaxEntries
Definition: NetworkSetup.h:1513
UInt32 fAgingInterval
Definition: NetworkSetup.h:1510
UInt32 fRequestInterval
Definition: NetworkSetup.h:1516
UInt32 fProbeInterval
Definition: NetworkSetup.h:1514
UInt32 fRequestRetryCount
Definition: NetworkSetup.h:1517
Definition: NetworkSetup.h:1632
UInt32 fETSDUSize
Definition: NetworkSetup.h:1637
UInt8 fMaxConsecutiveDataPackets
Definition: NetworkSetup.h:1647
UInt32 fDefaultProbeInterval
Definition: NetworkSetup.h:1639
UInt8 fDefaultBadSeqMax
Definition: NetworkSetup.h:1645
UInt32 fTSDUSize
Definition: NetworkSetup.h:1636
UInt32 fMinRoundTripTime
Definition: NetworkSetup.h:1640
UInt8 fDefaultOpenRetries
Definition: NetworkSetup.h:1644
UInt32 fDefaultRecvWindow
Definition: NetworkSetup.h:1642
Boolean fDefaultEOM
Definition: NetworkSetup.h:1649
UInt8 fDefaultProbeRetries
Definition: NetworkSetup.h:1646
UInt32 fDefaultOpenInterval
Definition: NetworkSetup.h:1638
Boolean fDefaultChecksum
Definition: NetworkSetup.h:1648
UInt32 fDefaultSendInterval
Definition: NetworkSetup.h:1641
UInt32 fDefaultSendBlocking
Definition: NetworkSetup.h:1635
UInt16 fSize
Definition: NetworkSetup.h:1634
Definition: NetworkSetup.h:1680
UInt8 fDefaultTickleRetries
Definition: NetworkSetup.h:1686
UInt16 fSize
Definition: NetworkSetup.h:1682
UInt8 fDefaultReplies
Definition: NetworkSetup.h:1687
UInt32 fDefaultTickleInterval
Definition: NetworkSetup.h:1683
Definition: NetworkSetup.h:1614
UInt32 fDefaultRetryInterval
Definition: NetworkSetup.h:1618
Boolean fDefaultALOSetting
Definition: NetworkSetup.h:1622
UInt16 fSize
Definition: NetworkSetup.h:1616
UInt32 fTSDUSize
Definition: NetworkSetup.h:1617
UInt32 fDefaultRetryCount
Definition: NetworkSetup.h:1619
UInt8 fDefaultReleaseTimer
Definition: NetworkSetup.h:1620
Definition: NetworkSetup.h:1549
UInt32 fAddressGenLimit
Definition: NetworkSetup.h:1560
UInt8 fMyZone[33]
Definition: NetworkSetup.h:1568
UInt8 fNode
Definition: NetworkSetup.h:1555
UInt16 fRTMPRequestLimit
Definition: NetworkSetup.h:1557
Boolean fDefaultChecksum
Definition: NetworkSetup.h:1566
UInt16 fNetwork
Definition: NetworkSetup.h:1556
UInt32 fMaxAddrTries
Definition: NetworkSetup.h:1565
Boolean fIsFixedNode
Definition: NetworkSetup.h:1567
UInt32 fRTMPAgingInterval
Definition: NetworkSetup.h:1563
UInt16 fSize
Definition: NetworkSetup.h:1551
UInt16 fRTMPRequestInterval
Definition: NetworkSetup.h:1558
UInt32 fTSDUSize
Definition: NetworkSetup.h:1552
UInt32 fBRCAgingInterval
Definition: NetworkSetup.h:1561
OTCfgATalkUnloadOptions fLoadType
Definition: NetworkSetup.h:1554
Definition: NetworkSetup.h:1578
Boolean fCaseSensitiveCompare
Definition: NetworkSetup.h:1584
UInt32 fDefaultRetryInterval
Definition: NetworkSetup.h:1582
UInt32 fDefaultRetryCount
Definition: NetworkSetup.h:1583
UInt32 fTSDUSize
Definition: NetworkSetup.h:1581
UInt8 fPad
Definition: NetworkSetup.h:1585
UInt16 fSize
Definition: NetworkSetup.h:1580
Definition: NetworkSetup.h:1659
UInt8 fDefaultOpenRetries
Definition: NetworkSetup.h:1664
UInt32 fDefaultTickleInterval
Definition: NetworkSetup.h:1663
Boolean fDefaultPAPEOMEnabled
Definition: NetworkSetup.h:1667
UInt16 fSize
Definition: NetworkSetup.h:1661
UInt8 fDefaultTickleRetries
Definition: NetworkSetup.h:1665
UInt32 fDefaultOpenInterval
Definition: NetworkSetup.h:1662
UInt8 fDefaultReplies
Definition: NetworkSetup.h:1666
Definition: NetworkSetup.h:1595
UInt8 fZoneListRetries
Definition: NetworkSetup.h:1602
UInt32 fGetZoneInterval
Definition: NetworkSetup.h:1598
UInt8 fPad
Definition: NetworkSetup.h:1604
UInt16 fDDPInfoTimeout
Definition: NetworkSetup.h:1600
UInt32 fZoneListInterval
Definition: NetworkSetup.h:1599
UInt16 fSize
Definition: NetworkSetup.h:1597
Boolean fChecksumFlag
Definition: NetworkSetup.h:1603
UInt8 fGetZoneRetries
Definition: NetworkSetup.h:1601
Definition: NetworkSetup.h:1696
UInt32 fPort
Definition: NetworkSetup.h:1699
void * fLink
Definition: NetworkSetup.h:1701
void * fPrefs[8]
Definition: NetworkSetup.h:1702
UInt16 fNumPrefs
Definition: NetworkSetup.h:1698
OTCfgATalkGeneralAARP aarpPrefs
Definition: NetworkSetup.h:1703
Definition: NetworkSetup.h:1719
Definition: NetworkSetup.h:1749
OSType fNetworkArchitecture
Definition: NetworkSetup.h:1751
Definition: NetworkSetup.h:1739
Definition: NetworkSetup.h:1408
Definition: NetworkSetup.h:1785
UInt32 fPortRef
Definition: NetworkSetup.h:1787
OTCfgIRPortSetting fPortSetting
Definition: NetworkSetup.h:1789
Boolean fNotifyOnDisconnect
Definition: NetworkSetup.h:1790
Definition: NetworkSetup.h:2132
OTCfgUserMode32 userMode
Definition: NetworkSetup.h:2135
Point windowPos
Definition: NetworkSetup.h:2134
Definition: NetworkSetup.h:2103
OTCfgModemDialogToneMode modemDialToneMode
Definition: NetworkSetup.h:2110
char lowerLayerName[36]
Definition: NetworkSetup.h:2111
FSSpec modemScript
Definition: NetworkSetup.h:2107
Boolean modemSpeakerOn
Definition: NetworkSetup.h:2108
Boolean modemPulseDial
Definition: NetworkSetup.h:2109
UInt8 pad
Definition: NetworkSetup.h:2106
Boolean useModemScript
Definition: NetworkSetup.h:2105
Definition: NetworkSetup.h:2120
UInt32 script
Definition: NetworkSetup.h:2123
UInt32 dialing
Definition: NetworkSetup.h:2126
UInt32 port
Definition: NetworkSetup.h:2122
UInt32 speaker
Definition: NetworkSetup.h:2124
Definition: NetworkSetup.h:1182
Definition: NetworkSetup.h:2212
char lowerLayerName[36]
Definition: NetworkSetup.h:2214
Definition: NetworkSetup.h:2253
Str255 alternateAddress
Definition: NetworkSetup.h:2255
Definition: NetworkSetup.h:2603
UInt32 fSetupVisible
Definition: NetworkSetup.h:2610
Point fWindowPosition
Definition: NetworkSetup.h:2606
UInt32 tabChoice
Definition: NetworkSetup.h:2607
OTCfgUserMode32 fUserMode
Definition: NetworkSetup.h:2609
Definition: NetworkSetup.h:2264
UInt32 savePasswordLock
Definition: NetworkSetup.h:2287
UInt32 number
Definition: NetworkSetup.h:2268
UInt32 dialAssistLock
Definition: NetworkSetup.h:2285
UInt32 useProtocolLock
Definition: NetworkSetup.h:2280
UInt32 redial
Definition: NetworkSetup.h:2278
UInt32 useOpenStatusAppLock
Definition: NetworkSetup.h:2289
UInt32 reminder
Definition: NetworkSetup.h:2275
UInt32 regUserOrGuestLock
Definition: NetworkSetup.h:2283
UInt32 headerCompress
Definition: NetworkSetup.h:2271
UInt32 name
Definition: NetworkSetup.h:2266
UInt32 termWindow
Definition: NetworkSetup.h:2273
UInt32 errorCheck
Definition: NetworkSetup.h:2269
UInt32 useVerboseLogLock
Definition: NetworkSetup.h:2281
UInt32 password
Definition: NetworkSetup.h:2267
UInt32 autoConn
Definition: NetworkSetup.h:2276
Definition: NetworkSetup.h:2300
UInt32 connectAutomatically
Definition: NetworkSetup.h:2302
Definition: NetworkSetup.h:2331
UInt32 addressLength
Definition: NetworkSetup.h:2351
UInt32 securityDataPtr
Definition: NetworkSetup.h:2363
UInt32 additional
Definition: NetworkSetup.h:2358
OSType securitySignature
Definition: NetworkSetup.h:2361
UInt32 passwordSaved
Definition: NetworkSetup.h:2337
UInt32 showStatus
Definition: NetworkSetup.h:2336
UInt32 isGuest
Definition: NetworkSetup.h:2334
UInt32 allowModemDataCompression
Definition: NetworkSetup.h:2343
OTCfgRemoteProtocol serialProtocolMode
Definition: NetworkSetup.h:2346
UInt32 flashConnectedIcon
Definition: NetworkSetup.h:2338
OTCfgRemotePPPConnectScript chatMode
Definition: NetworkSetup.h:2345
UInt32 connectManually
Definition: NetworkSetup.h:2342
UInt32 useSecurityModule
Definition: NetworkSetup.h:2360
UInt32 securityDataLength
Definition: NetworkSetup.h:2362
UInt32 userNamePtr
Definition: NetworkSetup.h:2349
UInt32 issueConnectedReminders
Definition: NetworkSetup.h:2339
Str63 chatScriptName
Definition: NetworkSetup.h:2354
UInt32 canInteract
Definition: NetworkSetup.h:2335
UInt32 passwordPtr
Definition: NetworkSetup.h:2347
UInt32 fType
Definition: NetworkSetup.h:2333
UInt32 addressPtr
Definition: NetworkSetup.h:2352
UInt32 chatScriptPtr
Definition: NetworkSetup.h:2356
UInt32 chatScriptLength
Definition: NetworkSetup.h:2355
SInt32 reminderMinutes
Definition: NetworkSetup.h:2341
Definition: NetworkSetup.h:2369
Str31 areaCodeStr
Definition: NetworkSetup.h:2372
UInt32 isAssisted
Definition: NetworkSetup.h:2371
Definition: NetworkSetup.h:2236
UInt32 redialDelay
Definition: NetworkSetup.h:2242
UInt32 fType
Definition: NetworkSetup.h:2238
UInt32 pad
Definition: NetworkSetup.h:2243
UInt32 redialTries
Definition: NetworkSetup.h:2241
OTCfgRemoteRedialMode dialMode
Definition: NetworkSetup.h:2240
UInt32 additionalPtr
Definition: NetworkSetup.h:2239
Definition: NetworkSetup.h:2385
UInt32 timerPeriod
Definition: NetworkSetup.h:2392
UInt32 maxTerminate
Definition: NetworkSetup.h:2389
UInt32 maxFailureLocal
Definition: NetworkSetup.h:2390
UInt32 localIPAddress
Definition: NetworkSetup.h:2393
UInt32 idleTimerMilliseconds
Definition: NetworkSetup.h:2399
UInt32 remoteIPAddress
Definition: NetworkSetup.h:2394
UInt16 idleTimerEnabled
Definition: NetworkSetup.h:2396
UInt32 allowAddressNegotiation
Definition: NetworkSetup.h:2395
UInt32 maxConfig
Definition: NetworkSetup.h:2388
UInt16 compressTCPHeaders
Definition: NetworkSetup.h:2397
UInt32 maxFailureRemote
Definition: NetworkSetup.h:2391
Definition: NetworkSetup.h:2412
UInt32 isNoLAPB
Definition: NetworkSetup.h:2431
UInt32 maxTerminate
Definition: NetworkSetup.h:2418
UInt32 maxFailureLocal
Definition: NetworkSetup.h:2419
UInt32 mruSize
Definition: NetworkSetup.h:2426
UInt32 timerPeriod
Definition: NetworkSetup.h:2421
UInt32 compressionType
Definition: NetworkSetup.h:2425
UInt32 txACCMap
Definition: NetworkSetup.h:2429
UInt32 lowerMRULimit
Definition: NetworkSetup.h:2428
UInt32 maxFailureRemote
Definition: NetworkSetup.h:2420
UInt32 maxConfig
Definition: NetworkSetup.h:2417
UInt32 echoTrigger
Definition: NetworkSetup.h:2422
char lowerLayerName[36]
Definition: NetworkSetup.h:2415
UInt32 rcACCMap
Definition: NetworkSetup.h:2430
UInt32 upperMRULimit
Definition: NetworkSetup.h:2427
UInt32 echoTimeout
Definition: NetworkSetup.h:2423
UInt32 echoRetries
Definition: NetworkSetup.h:2424
Definition: NetworkSetup.h:2448
OTCfgRemoteLogLevel logLevel
Definition: NetworkSetup.h:2453
UInt32 launchStatusApp
Definition: NetworkSetup.h:2454
UInt32 additionalPtr
Definition: NetworkSetup.h:2451
OSType fType
Definition: NetworkSetup.h:2450
Definition: NetworkSetup.h:2466
Definition: NetworkSetup.h:2577
UInt32 maxConnectSeconds
Definition: NetworkSetup.h:2587
char portName[64]
Definition: NetworkSetup.h:2592
Boolean limitConnectTime
Definition: NetworkSetup.h:2584
Str255 password
Definition: NetworkSetup.h:2582
OTCfgRemoteNetAccessMode netAccessMode
Definition: NetworkSetup.h:2590
SInt16 configID
Definition: NetworkSetup.h:2580
UInt32 localIPAddress
Definition: NetworkSetup.h:2594
OTCfgRemoteAnswerMode answerMode
Definition: NetworkSetup.h:2583
char serialLayerName[36]
Definition: NetworkSetup.h:2593
OTCfgRemoteProtocol serialProtoFlags
Definition: NetworkSetup.h:2588
Boolean requiresCCL
Definition: NetworkSetup.h:2591
UInt8 pad
Definition: NetworkSetup.h:2586
OTCfgRemoteNetworkProtocol networkProtoFlags
Definition: NetworkSetup.h:2589
Definition: NetworkSetup.h:2532
SInt16 configIDs[1]
Definition: NetworkSetup.h:2536
SInt16 configCount
Definition: NetworkSetup.h:2534
Definition: NetworkSetup.h:2473
Boolean fAskToSaveOnQuit
Definition: NetworkSetup.h:2482
SInt16 fFontSize
Definition: NetworkSetup.h:2491
Rect fWindowRect
Definition: NetworkSetup.h:2483
Style fPrintedCharStyle
Definition: NetworkSetup.h:2486
Style fTypedCharStyle
Definition: NetworkSetup.h:2484
UInt8 pad
Definition: NetworkSetup.h:2490
Boolean fQuitWhenPPPStarts
Definition: NetworkSetup.h:2478
Style fEchoedCharStyle
Definition: NetworkSetup.h:2488
Boolean fNoVarStrReplace
Definition: NetworkSetup.h:2480
Boolean fLocalEcho
Definition: NetworkSetup.h:2475
Boolean fNonModal
Definition: NetworkSetup.h:2476
Str255 fFontName
Definition: NetworkSetup.h:2492
Boolean fLFAfterCR
Definition: NetworkSetup.h:2481
Boolean fPowerUser
Definition: NetworkSetup.h:2477
Boolean fDontAskVarStr
Definition: NetworkSetup.h:2479
Definition: NetworkSetup.h:2502
Str255 adminPassword
Definition: NetworkSetup.h:2505
OTCfgUserMode32 userMode
Definition: NetworkSetup.h:2504
Definition: NetworkSetup.h:2515
UInt32 fType
Definition: NetworkSetup.h:2517
UInt32 additionalPtr
Definition: NetworkSetup.h:2518
Definition: NetworkSetup.h:1967
Definition: NetworkSetup.h:1942
Definition: NetworkSetup.h:1856
Definition: NetworkSetup.h:1870
Definition: NetworkSetup.h:1886
UInt8 pad1
Definition: NetworkSetup.h:1888
UInt8 path[36]
Definition: NetworkSetup.h:1894
OTCfgTCPConfigMethod fConfigMethod
Definition: NetworkSetup.h:1889
UInt8 pad2
Definition: NetworkSetup.h:1893
Definition: NetworkSetup.h:1995
UInt8 lockConnectViaPopup
Definition: NetworkSetup.h:1997
UInt8 pad14
Definition: NetworkSetup.h:2022
Definition: NetworkSetup.h:1905
UInt16 fHost
Definition: NetworkSetup.h:1909
UInt16 fLocal
Definition: NetworkSetup.h:1908
UInt32 fViaHost
Definition: NetworkSetup.h:1907
Definition: NetworkSetup.h:1918
Definition: NetworkSetup.h:1955
Definition: NetworkSetup.h:1930
UInt8 fLocalDomainName[256]
Definition: NetworkSetup.h:1932
UInt8 fAdmindomain[256]
Definition: NetworkSetup.h:1933
Definition: MacTypes.h:520
Definition: MacTypes.h:527