![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#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 |
Manage Params for the FTP server.
| GrayFTP::cFTPCfg::cFTPCfg | ( | void | ) |
| GrayFTP::cFTPCfg::~cFTPCfg | ( | void | ) |
| cFTPAccountPtr GrayFTP::cFTPCfg::AccountFind | ( | const char * | pName, |
| cClientFTP * | pClient | ||
| ) |
Load the user account from the registry ?
| HRESULT GrayFTP::cFTPCfg::CfgDelete | ( | ) |
Remove the registry entries for the PrecisionTimer COM object
| HRESULT GrayFTP::cFTPCfg::CfgSetInit | ( | ) |
register default entries from table Write to HKEY_LOCAL_MACHINE might be denied so use HKEY_CURRENT_USER ?
| UINT GrayFTP::cFTPCfg::GetCfgInt | ( | const FILECHAR_t * | pszSection, |
| const FILECHAR_t * | pszKeyName, | ||
| int | nDefault | ||
| ) |
|
inline |
| StrLen_t GrayFTP::cFTPCfg::GetCfgStringT | ( | const FILECHAR_t * | pszSection, |
| const FILECHAR_t * | pszKeyName, | ||
| FILECHAR_t * | lpReturnedString, | ||
| DWORD | nSize | ||
| ) |
Make this read from the registry.
| void GrayFTP::cFTPCfg::InitCfg | ( | ) |
Read the config info from file or registry. if registry entries don't exist then create them.
| cFTPCfgOpts GrayFTP::cFTPCfg::m_Opts |