#include <SourceURL.h>
Public Member Functions | |
CSourceURL (LPCTSTR pszURL=NULL) | |
void | Clear () |
BOOL | Parse (LPCTSTR pszURL, BOOL bResolve=TRUE) |
BOOL | ParseHTTP (LPCTSTR pszURL, BOOL bResolve=TRUE) |
BOOL | ParseFTP (LPCTSTR pszURL, BOOL bResolve=TRUE) |
BOOL | ParseED2KFTP (LPCTSTR pszURL, BOOL bResolve=TRUE) |
BOOL | ParseBTC (LPCTSTR pszURL, BOOL bResolve=TRUE) |
Public Attributes | |
CString | m_sURL |
PROTOCOLID | m_nProtocol |
CString | m_sAddress |
IN_ADDR | m_pAddress |
WORD | m_nPort |
IN_ADDR | m_pServerAddress |
WORD | m_nServerPort |
CString | m_sPath |
BOOL | m_bSHA1 |
SHA1 | m_pSHA1 |
BOOL | m_bED2K |
MD4 | m_pED2K |
BOOL | m_bBTH |
SHA1 | m_pBTH |
BOOL | m_bBTC |
SHA1 | m_pBTC |
BOOL | m_bSize |
QWORD | m_nSize |
CString | m_sLogin |
CString | m_sPassword |
|
Definition at line 40 of file SourceURL.cpp. |
|
Definition at line 49 of file SourceURL.cpp. References m_bBTC, m_bBTH, m_bED2K, m_bSHA1, m_bSize, m_nPort, m_nProtocol, m_nServerPort, m_pAddress, m_pServerAddress, m_sAddress, m_sLogin, m_sPassword, m_sPath, m_sURL, and PROTOCOL_NULL. Referenced by CSourceURL(), and Parse(). |
|
Definition at line 71 of file SourceURL.cpp. References Clear(), ParseBTC(), ParseED2KFTP(), ParseFTP(), and ParseHTTP(). Referenced by CLibraryFile::AddAlternateSource(), CDownloadWithSources::AddSourceURL(), CSourceURL(), CBTClient::OnSourceRequest(), and CDownloadSource::ResolveURL(). |
|
Definition at line 255 of file SourceURL.cpp. References ED2K_DEFAULT_PORT, CSHA::HashFromString(), m_bBTC, m_nPort, m_nProtocol, m_pAddress, m_pBTC, m_pBTH, m_sAddress, m_sURL, Network, PROTOCOL_BT, and CNetwork::Resolve(). Referenced by Parse(). |
|
Definition at line 197 of file SourceURL.cpp. References ED2K_DEFAULT_PORT, CED2K::HashFromString(), m_bSize, m_nPort, m_nProtocol, m_nServerPort, m_nSize, m_pAddress, m_pED2K, m_pServerAddress, m_sAddress, m_sURL, Network, PROTOCOL_ED2K, and CNetwork::Resolve(). Referenced by Parse(). |
|
Definition at line 137 of file SourceURL.cpp. References m_nPort, m_nProtocol, m_pAddress, m_sAddress, m_sLogin, m_sPassword, m_sPath, m_sURL, Network, PROTOCOL_FTP, and CNetwork::Resolve(). Referenced by Parse(), and CDownloadTransferFTP::SendCommand(). |
|
Definition at line 88 of file SourceURL.cpp. References CSHA::HashFromURN(), m_bSHA1, m_nPort, m_nProtocol, m_pAddress, m_pSHA1, m_sAddress, m_sPath, m_sURL, Network, PROTOCOL_HTTP, and CNetwork::Resolve(). Referenced by Parse(), and CDownloadTransferHTTP::SendRequest(). |
|
Definition at line 52 of file SourceURL.h. Referenced by Clear(), CBTClient::OnSourceRequest(), ParseBTC(), and CDownloadSource::ResolveURL(). |
|
Definition at line 50 of file SourceURL.h. Referenced by Clear(). |
|
Definition at line 48 of file SourceURL.h. Referenced by Clear(), and CDownloadSource::ResolveURL(). |
|
Definition at line 46 of file SourceURL.h. Referenced by CLibraryFile::AddAlternateSource(), CDownloadWithSources::AddSourceURL(), Clear(), ParseHTTP(), and CDownloadSource::ResolveURL(). |
|
Definition at line 54 of file SourceURL.h. Referenced by Clear(), and ParseED2KFTP(). |
|
Definition at line 41 of file SourceURL.h. Referenced by Clear(), ParseBTC(), ParseED2KFTP(), ParseFTP(), ParseHTTP(), and CDownloadSource::ResolveURL(). |
|
Definition at line 37 of file SourceURL.h. Referenced by Clear(), ParseBTC(), ParseED2KFTP(), ParseFTP(), ParseHTTP(), and CDownloadSource::ResolveURL(). |
|
Definition at line 43 of file SourceURL.h. Referenced by Clear(), ParseED2KFTP(), and CDownloadSource::ResolveURL(). |
|
Definition at line 55 of file SourceURL.h. Referenced by ParseED2KFTP(). |
|
Definition at line 40 of file SourceURL.h. Referenced by CLibraryFile::AddAlternateSource(), CDownloadWithSources::AddSourceURL(), Clear(), ParseBTC(), ParseED2KFTP(), ParseFTP(), ParseHTTP(), and CDownloadSource::ResolveURL(). |
|
Definition at line 53 of file SourceURL.h. Referenced by CBTClient::OnSourceRequest(), ParseBTC(), and CDownloadSource::ResolveURL(). |
|
Definition at line 51 of file SourceURL.h. Referenced by ParseBTC(). |
|
Definition at line 49 of file SourceURL.h. Referenced by ParseED2KFTP(). |
|
Definition at line 42 of file SourceURL.h. Referenced by Clear(), ParseED2KFTP(), and CDownloadSource::ResolveURL(). |
|
Definition at line 47 of file SourceURL.h. Referenced by CLibraryFile::AddAlternateSource(), CDownloadWithSources::AddSourceURL(), and ParseHTTP(). |
|
Definition at line 39 of file SourceURL.h. Referenced by Clear(), ParseBTC(), ParseED2KFTP(), ParseFTP(), ParseHTTP(), and CDownloadTransferHTTP::SendRequest(). |
|
Definition at line 56 of file SourceURL.h. Referenced by Clear(), ParseFTP(), and CDownloadTransferFTP::SendCommand(). |
|
Definition at line 57 of file SourceURL.h. Referenced by Clear(), ParseFTP(), and CDownloadTransferFTP::SendCommand(). |
|
Definition at line 44 of file SourceURL.h. Referenced by Clear(), ParseFTP(), ParseHTTP(), CDownloadTransferFTP::SendCommand(), and CDownloadTransferHTTP::SendRequest(). |
|
Definition at line 36 of file SourceURL.h. Referenced by Clear(), ParseBTC(), ParseED2KFTP(), ParseFTP(), and ParseHTTP(). |