2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
15 * INCLUSIONS _________________________________________________________________
19 #include <WINNT/TaLocale.h>
23 #include <ctl_sockaddr.h>
24 #include <ctl_spinner.h>
25 #include <checklist.h>
28 #include <tab_hosts.h>
29 #include "cellservdb.h"
34 #include <WINNT\afsreg.h>
38 * VARIABLES __________________________________________________________________
52 TCHAR szGateway[ MAX_PATH ];
53 TCHAR szCell[ MAX_PATH ];
54 TCHAR szSysName[ MAX_PATH ];
55 TCHAR szRootVolume[ MAX_PATH ];
56 TCHAR szMountDir[ MAX_PATH ];
57 TCHAR szCachePath[ MAX_PATH ];
62 BOOL fFailLoginsSilently;
63 BOOL fReportSessionStartups;
72 DWORD nLoginRetryInterval;
73 PSERVERPREFS pFServers;
74 PSERVERPREFS pVLServers;
75 CELLSERVDB CellServDB;
76 DRIVEMAPLIST NetDrives;
77 DRIVEMAPLIST GlobalDrives;
82 TCHAR szHelpFile[ MAX_PATH ];
88 * MACROS _____________________________________________________________________
93 #define THIS_HINST (HINSTANCE)GetModuleHandle(NULL)
97 #define REALLOC(_a,_c,_r,_i) AfsConfigReallocFunction ((LPVOID*)&_a,sizeof(*_a),&_c,_r,_i)
101 #define iswhite(_ch) (((_ch)==TEXT(' ')) || ((_ch)==TEXT('\t')))
104 #define iseol(_ch) (((_ch)==TEXT('\r')) || ((_ch)==TEXT('\n')))
107 #define iswhiteeol(_ch) (iswhite(_ch) || iseol(_ch))
112 * PROTOTYPES _________________________________________________________________
118 BOOL AfsConfigReallocFunction (LPVOID *ppTarget, size_t cbElement, size_t *pcTarget, size_t cReq, size_t cInc);
120 void Main_OnInitDialog (HWND hMain);
122 void Main_RefreshAllTabs (void);
124 LPCTSTR GetCautionTitle (void);
125 LPCTSTR GetErrorTitle (void);