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"
37
* VARIABLES __________________________________________________________________
51
TCHAR szGateway[ MAX_PATH ];
52
TCHAR szCell[ MAX_PATH ];
53
TCHAR szSysName[ MAX_PATH ];
54
TCHAR szRootVolume[ MAX_PATH ];
55
TCHAR szMountDir[ MAX_PATH ];
56
TCHAR szCachePath[ MAX_PATH ];
61
BOOL fFailLoginsSilently;
62
BOOL fReportSessionStartups;
71
DWORD nLoginRetryInterval;
72
PSERVERPREFS pFServers;
73
PSERVERPREFS pVLServers;
74
CELLSERVDB CellServDB;
75
DRIVEMAPLIST NetDrives;
76
DRIVEMAPLIST GlobalDrives;
81
TCHAR szHelpFile[ MAX_PATH ];
86
extern const TCHAR AFSConfigKeyName[];
90
* MACROS _____________________________________________________________________
95
#define THIS_HINST (HINSTANCE)GetModuleHandle(NULL)
99
#define REALLOC(_a,_c,_r,_i) AfsConfigReallocFunction ((LPVOID*)&_a,sizeof(*_a),&_c,_r,_i)
103
#define iswhite(_ch) (((_ch)==TEXT(' ')) || ((_ch)==TEXT('\t')))
106
#define iseol(_ch) (((_ch)==TEXT('\r')) || ((_ch)==TEXT('\n')))
109
#define iswhiteeol(_ch) (iswhite(_ch) || iseol(_ch))
114
* PROTOTYPES _________________________________________________________________
120
BOOL AfsConfigReallocFunction (LPVOID *ppTarget, size_t cbElement, size_t *pcTarget, size_t cReq, size_t cInc);
122
void Main_OnInitDialog (HWND hMain);
124
void Main_RefreshAllTabs (void);
126
LPCTSTR GetCautionTitle (void);
127
LPCTSTR GetErrorTitle (void);