Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayFTP::cFTPCfg Class Reference

#include <cFTPCfg.h>

Public Member Functions

 cFTPCfg (void)
 
 ~cFTPCfg (void)
 
void InitCfg ()
 
cFTPAccountPtr AccountFind (const char *pName, cClientFTP *pClient)
 
UINT GetCfgInt (const FILECHAR_t *pszSection, const FILECHAR_t *pszKeyName, int nDefault)
 
StrLen_t GetCfgStringT (const FILECHAR_t *pszSection, const FILECHAR_t *pszKeyName, FILECHAR_t *lpReturnedString, DWORD nSize)
 
StrLen_t GetCfgString (const FILECHAR_t *pszSection, const FILECHAR_t *pszKeyName, char *lpReturnedString, DWORD nSize)
 
HRESULT CfgDelete ()
 
HRESULT CfgSetInit ()
 

Public Attributes

cFTPCfgOpts m_Opts
 

Detailed Description

Manage Params for the FTP server.

Constructor & Destructor Documentation

◆ cFTPCfg()

GrayFTP::cFTPCfg::cFTPCfg ( void  )

◆ ~cFTPCfg()

GrayFTP::cFTPCfg::~cFTPCfg ( void  )

Member Function Documentation

◆ AccountFind()

cFTPAccountPtr GrayFTP::cFTPCfg::AccountFind ( const char *  pName,
cClientFTP pClient 
)

Load the user account from the registry ?

◆ CfgDelete()

HRESULT GrayFTP::cFTPCfg::CfgDelete ( )

Remove the registry entries for the PrecisionTimer COM object

◆ CfgSetInit()

HRESULT GrayFTP::cFTPCfg::CfgSetInit ( )

register default entries from table Write to HKEY_LOCAL_MACHINE might be denied so use HKEY_CURRENT_USER ?

◆ GetCfgInt()

UINT GrayFTP::cFTPCfg::GetCfgInt ( const FILECHAR_t pszSection,
const FILECHAR_t pszKeyName,
int  nDefault 
)

◆ GetCfgString()

StrLen_t GrayFTP::cFTPCfg::GetCfgString ( const FILECHAR_t pszSection,
const FILECHAR_t pszKeyName,
char *  lpReturnedString,
DWORD  nSize 
)
inline

◆ GetCfgStringT()

StrLen_t GrayFTP::cFTPCfg::GetCfgStringT ( const FILECHAR_t pszSection,
const FILECHAR_t pszKeyName,
FILECHAR_t lpReturnedString,
DWORD  nSize 
)

Make this read from the registry.

◆ InitCfg()

void GrayFTP::cFTPCfg::InitCfg ( )

Read the config info from file or registry. if registry entries don't exist then create them.

Member Data Documentation

◆ m_Opts

cFTPCfgOpts GrayFTP::cFTPCfg::m_Opts

The documentation for this class was generated from the following files: