You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
2.1 KiB
101 lines
2.1 KiB
/**********************************************************************/
|
|
/** Microsoft Windows NT **/
|
|
/** Copyright(c) Microsoft Corp., 1993 **/
|
|
/**********************************************************************/
|
|
|
|
/*
|
|
data.hxx
|
|
|
|
This file contains the global variable definitions for the
|
|
FTPD Service.
|
|
|
|
|
|
FILE HISTORY:
|
|
KeithMo 07-Mar-1993 Created.
|
|
MuraliK April-1995 Deleted Global TCPSVCS data and added
|
|
global FTP Server configuration.
|
|
|
|
*/
|
|
|
|
|
|
#ifndef _DATA_HXX_
|
|
#define _DATA_HXX_
|
|
|
|
|
|
//
|
|
// Security related data.
|
|
//
|
|
|
|
//
|
|
// Socket transfer buffer size.
|
|
//
|
|
|
|
extern DWORD g_SocketBufferSize;
|
|
|
|
//
|
|
// Miscellaneous data.
|
|
//
|
|
|
|
|
|
extern HKEY g_hkeyParams;
|
|
|
|
//
|
|
// The FTP Server sign-on string.
|
|
//
|
|
|
|
extern LPSTR g_FtpServiceNameString;
|
|
|
|
//
|
|
// Events used to synchronize access to events used to wait for PASV connections
|
|
//
|
|
extern LIST_ENTRY g_AcceptContextList;
|
|
extern CRITICAL_SECTION g_AcceptContextCS;
|
|
extern DWORD g_dwMaxAcceptContextEntries;
|
|
extern DWORD g_dwOutstandingPASVConnections;
|
|
|
|
//
|
|
// Global statistics object
|
|
//
|
|
|
|
extern LPFTP_SERVER_STATISTICS g_pFTPStats;
|
|
|
|
#ifdef KEEP_COMMAND_STATS
|
|
|
|
//
|
|
// Lock protecting per-command statistics.
|
|
//
|
|
|
|
extern CRITICAL_SECTION g_CommandStatisticsLock;
|
|
|
|
#endif // KEEP_COMMAND_STATS
|
|
|
|
//
|
|
// The number of threads currently blocked in Synchronous sockets
|
|
// calls, like recv()
|
|
//
|
|
|
|
extern DWORD g_ThreadsBlockedInSyncCalls;
|
|
|
|
//
|
|
// The maximum number of threads that will be allowed to block in
|
|
// Synchronous sockets calls.
|
|
//
|
|
|
|
extern DWORD g_MaxThreadsBlockedInSyncCalls;
|
|
|
|
//
|
|
// By default, extended characters are allowed for file/directory names
|
|
// in the data transfer commands. Reg key can disable this.
|
|
//
|
|
|
|
extern DWORD g_fNoExtendedChars;
|
|
|
|
|
|
//
|
|
// The maximum time in 100ns to use a cached DS property before mandatory refresh
|
|
//
|
|
|
|
extern ULONGLONG g_MaxAdPropCacheTime;
|
|
|
|
#endif // _DATA_HXX_
|
|
|