/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/ |
H A D | ECSpecialMuleTags.cpp | 96 user_prefs.AddTag(CECTag(EC_TAG_USER_NICK, thePrefs::GetUserNick())); 97 user_prefs.AddTag(CECTag(EC_TAG_USER_HASH, thePrefs::GetUserHash())); 98 user_prefs.AddTag(CECTag(EC_TAG_USER_HOST, thePrefs::GetYourHostname())); 99 user_prefs.AddTag(CECTag(EC_TAG_GENERAL_CHECK_NEW_VERSION, thePrefs::GetCheckNewVersion())); 105 connPrefs.AddTag(CECTag(EC_TAG_CONN_UL_CAP, thePrefs::GetMaxGraphUploadRate())); 106 connPrefs.AddTag(CECTag(EC_TAG_CONN_DL_CAP, thePrefs::GetMaxGraphDownloadRate())); 107 connPrefs.AddTag(CECTag(EC_TAG_CONN_MAX_UL, thePrefs::GetMaxUpload())); 108 connPrefs.AddTag(CECTag(EC_TAG_CONN_MAX_DL, thePrefs::GetMaxDownload())); 109 connPrefs.AddTag(CECTag(EC_TAG_CONN_SLOT_ALLOCATION, thePrefs::GetSlotAllocation())); 110 connPrefs.AddTag(CECTag(EC_TAG_CONN_TCP_PORT, thePrefs [all...] |
H A D | PrefsUnifiedDlg.cpp | 292 thePrefs::SetPreventSleepWhileDownloading(false); 338 EnableServerTab(thePrefs::GetNetworkED2K()); 346 thePrefs::CFGMap::iterator it = thePrefs::s_CfgList.begin(); 347 for ( ; it != thePrefs::s_CfgList.end(); ++it ) { 382 thePrefs::CFGMap::iterator it = thePrefs::s_CfgList.find( id ); 384 if ( it != thePrefs::s_CfgList.end() ) { 395 thePrefs::CFGMap::iterator it = thePrefs [all...] |
H A D | ServerConnect.cpp | 60 if ( connectionattemps.size() < (unsigned)(( thePrefs::IsSafeServerConnectEnabled()) ? 1 : 2) ) { 64 if ( thePrefs::AutoConnectStaticOnly() ) { 73 if (m_bTryObfuscated && !thePrefs::IsClientCryptLayerRequired()){ 93 if (!thePrefs::GetNetworkED2K()){ 107 m_bTryObfuscated = thePrefs::IsServerCryptLayerTCPRequested() && !bNoCrypt; 110 if (thePrefs::AutoConnectStaticOnly()) { 127 if ( thePrefs::Score() && prioSort ) { 147 if (!thePrefs::GetNetworkED2K()){ 159 CServerSocket* newsocket = new CServerSocket(this, thePrefs::GetProxyData()); 211 data.WriteHash(thePrefs [all...] |
H A D | amule.cpp | 408 if (CheckMuleDirectory(wxT("temp"), thePrefs::GetTempDir(), ConfigDir + wxT("Temp"), outDir)) { 409 thePrefs::SetTempDir(outDir); 414 if (CheckMuleDirectory(wxT("incoming"), thePrefs::GetIncomingDir(), ConfigDir + wxT("Incoming"), outDir)) { 415 thePrefs::SetIncomingDir(outDir); 421 if (!thePrefs::UseTrayIcon()) { 422 thePrefs::SetMinToTray(false); 426 SetOSFiles(thePrefs::GetOSDir().GetRaw()); 436 thePrefs::SetECPass(GetPassword()); 437 thePrefs::EnableExternalConnections(true); 493 wxString langId = thePrefs [all...] |
H A D | amuleDlg.cpp | 99 if (thePrefs::IsGeoIPEnabled()) { 273 Create_Toolbar(thePrefs::VerticalToolbar()); 297 if (thePrefs::UseTrayIcon()) { 303 if (thePrefs::GetStartMinimized()) { 313 ShowED2KLinksHandler( thePrefs::GetFED2KLH() ); 364 if (thePrefs::ShowCatTabInfos()) { 432 if ( lastbutton == ID_BUTTONSEARCH && !thePrefs::GetFED2KLH() ) { 451 if ( !thePrefs::GetFED2KLH() ) 564 if (thePrefs::GetNetworkED2K()) { 582 if (thePrefs [all...] |
H A D | MuleTrayIcon.cpp | 42 #include "Preferences.h" // Needed for thePrefs 104 thePrefs::SetMaxUpload(temp); 130 thePrefs::SetMaxDownload(temp); 299 unsigned int max_upload = thePrefs::GetMaxUpload(); 309 unsigned int max_download = thePrefs::GetMaxDownload(); 330 wxString temp = CFormat(_("Nickname: %s")) % ( thePrefs::GetUserNick().IsEmpty() ? wxString(_("No Nickname Selected!")) : thePrefs::GetUserNick() ); 373 if (thePrefs::GetPort()) { 374 temp = CFormat(_("TCP port: %d")) % thePrefs::GetPort(); 384 if (thePrefs [all...] |
H A D | ServerWnd.cpp | 63 CastChild( IDC_NODESLISTURL, wxTextCtrl )->SetValue(thePrefs::GetKadNodesUrl()); 64 CastChild( IDC_SERVERLISTURL, wxTextCtrl )->SetValue(thePrefs::GetEd2kServersUrl()); 83 thePrefs::SetEd2kServersUrl(CastChild( IDC_SERVERLISTURL, wxTextCtrl )->GetValue()); 84 thePrefs::SetKadNodesUrl(CastChild( IDC_NODESLISTURL, wxTextCtrl )->GetValue()); 90 thePrefs::SetEd2kServersUrl(strURL); 169 wxString(_("LowID")) : Uint32_16toStringIP_Port( theApp->GetED2KID(), thePrefs::GetPort())); 181 ED2KInfoList->SetItem(1, 1, Uint32_16toStringIP_Port(theApp->GetED2KID(), thePrefs::GetPort())); 214 wxString(CFormat(_("Firewalled - open TCP port %d in your router or firewall")) % thePrefs::GetPort()) 219 wxString(CFormat(_("Firewalled - open UDP port %d in your router or firewall")) % thePrefs::GetUDPPort())
|
H A D | ListenSocket.cpp | 174 if ((GetOpenSockets()+5 < thePrefs::GetMaxConnections() || theApp->serverconnect->IsConnecting()) && !bListening) { 231 if (GetOpenSockets() > thePrefs::GetMaxConnections() || (m_OpenSocketsInterval > (thePrefs::GetMaxConperFive()*GetMaxConperFiveModifier()) && !bIgnoreInterval)) { 267 float SpikeTolerance = 2.5f*thePrefs::GetMaxConperFive();
|
H A D | IP2Country.cpp | 60 #include "Preferences.h" // For thePrefs 100 AddLogLineN(CFormat(_("Download new GeoIP.dat from %s")) % thePrefs::GetGeoIPUpdateUrl()); 101 CHTTPDownloadThread *downloader = new CHTTPDownloadThread(thePrefs::GetGeoIPUpdateUrl(), m_DataBasePath + wxT(".download"), m_DataBasePath, HTTP_GeoIP, true, true); 153 AddLogLineC(CFormat(_("Failed to download %s from %s")) % m_DataBaseName % thePrefs::GetGeoIPUpdateUrl()); 156 thePrefs::SetGeoIPEnabled(false);
|
H A D | IPFilter.cpp | 31 #include "Preferences.h" // Needed for thePrefs 115 thePrefs::UseIPFilterSystem() ) { 132 uint8 accessLevel = thePrefs::GetIPFilterLevel(); 383 thePrefs::SetLastHTTPDownloadURL(HTTP_IPFilter, wxEmptyString); 400 m_updateAfterLoading = thePrefs::IPFilterAutoLoad() && !thePrefs::IPFilterURL().IsEmpty(); 421 if ((!thePrefs::IsFilteringClients() && !isServer) || (!thePrefs::IsFilteringServers() && isServer)) { 535 if (thePrefs::IsFilteringClients()) { 538 if (thePrefs [all...] |
H A D | KadDlg.cpp | 72 m_kad_scope->SetRanges(0.0, thePrefs::GetStatsMax()); 89 SetUpdatePeriod(thePrefs::GetTrafficOMeterInterval()); 216 thePrefs::SetKadNodesUrl(strURL);
|
H A D | DownloadQueue.cpp | 47 #include "Preferences.h" // Needed for thePrefs 240 if (!PlatformSpecific::CanFSHandleLargeFiles(thePrefs::GetTempDir())) { 257 AddDownload( newfile, thePrefs::AddNewFilesPaused(), category ); 320 if ( thePrefs::StartNextFile() ) { 321 SFindBestPF visitor = { -1, NULL, thePrefs::StartNextFileAlpha() }; 326 if (thePrefs::StartNextFileSame()) { 419 if (thePrefs::GetMaxDownload() != UNLIMITED && m_datarate > 1500) { 420 downspeed = (((uint32)thePrefs::GetMaxDownload())*1024*100)/(m_datarate+1); 457 if (thePrefs::GetPreventSleepWhileDownloading()) { 535 CheckDiskspace(thePrefs [all...] |
H A D | amuleAppCommon.cpp | 27 // but preprocessor-dependent (using theApp, thePrefs), so it is compiled seperately for each app. 162 strURL << thePrefs::GetYourHostname(); 174 thePrefs::GetPort(); 177 uint8 uSupportsCryptLayer = thePrefs::IsClientCryptLayerSupported() ? 1 : 0; 178 uint8 uRequestsCryptLayer = thePrefs::IsClientCryptLayerRequested() ? 1 : 0; 179 uint8 uRequiresCryptLayer = thePrefs::IsClientCryptLayerRequired() ? 1 : 0; 185 strURL << wxT(":") << thePrefs::GetUserHash().Encode(); 452 thePrefs::SetWSPath(amulewebPath);
|
H A D | StatisticsDlg.cpp | 32 #include "Preferences.h" // Needed for thePrefs 100 pscopeDL->SetRanges(0.0, (float)(thePrefs::GetMaxGraphDownloadRate()+4)); 102 pscopeUL->SetRanges(0.0, (float)(thePrefs::GetMaxGraphUploadRate()+4)); 104 pscopeConn->SetRanges(0.0, (float)(thePrefs::GetStatsMax())); 107 SetUpdatePeriod(thePrefs::GetTrafficOMeterInterval()); 330 StatTreeItemIterator temp_it = statssubtree->GetFirstVisibleChild(thePrefs::GetMaxClientVersions());
|
H A D | ServerSocket.cpp | 368 uint8 state = thePrefs::GetSmartIdState(); 372 thePrefs::SetSmartIdState(0); 374 thePrefs::SetSmartIdState(state); 379 if(thePrefs::GetSmartIdCheck()) { 381 thePrefs::SetSmartIdState(1); 383 uint8 state = thePrefs::GetSmartIdState(); 387 thePrefs::SetSmartIdState(0); 389 thePrefs::SetSmartIdState(state); 733 if ( !m_bNoCrypt && thePrefs::IsServerCryptLayerTCPRequested() && cur_server->GetObfuscationPortTCP() != 0 && cur_server->SupportsObfuscationTCP()){
|
H A D | TransferWnd.cpp | 97 theApp->glob_prefs->GetCategory(0)->title = GetCatTitle(thePrefs::GetAllcatFilter()); 98 theApp->glob_prefs->GetCategory(0)->path = thePrefs::GetIncomingDir(); 156 bool showCatTabInfos = thePrefs::ShowCatTabInfos(); 266 thePrefs::SetAllcatFilter( acfAll ); 299 thePrefs::SetAllcatFilter( static_cast<AllCategoryFilter>(event.GetId() - MP_CAT_SET0) ); 300 theApp->glob_prefs->GetCategory(0)->title = GetCatTitle( thePrefs::GetAllcatFilter() );
|
H A D | EncryptedDatagramSocket.cpp | 136 if (result <= CRYPT_HEADER_WITHOUTPADDING /*|| !thePrefs.IsClientCryptLayerSupported()*/) { 185 md4cpy(keyData, thePrefs::GetUserHash().GetHash()); 267 wxASSERT(thePrefs::IsClientCryptLayerSupported()); 381 if (nResult <= CRYPT_HEADER_WITHOUTPADDING || !thePrefs::IsServerCryptLayerUDPEnabled() || dwBaseKey == 0) { 433 wxASSERT( thePrefs::IsServerCryptLayerUDPEnabled() );
|
H A D | ServerList.cpp | 46 #include "Preferences.h" // Needed for thePrefs 77 if ( thePrefs::AutoServerlist()) { 205 !IsGoodIP( in_server->GetIP(), thePrefs::FilterLanIPs() ) || 280 if (ping_server->GetFailedCount() >= thePrefs::GetDeadserverRetries() && thePrefs::DeadServer() && !ping_server->IsStaticMember()) { 287 if (!ping_server->GetCryptPingReplyPending() && (!ping_server->GetLastPingedTime() || (tNow - ping_server->GetLastPingedTime()) >= UDPSERVSTATREASKTIME) && theApp->GetPublicIP() && thePrefs::IsServerCryptLayerUDPEnabled()) { 314 } else if (ping_server->GetCryptPingReplyPending() || theApp->GetPublicIP() == 0 || !thePrefs::IsServerCryptLayerUDPEnabled()){ 317 if (ping_server->GetCryptPingReplyPending() && thePrefs::IsServerCryptLayerUDPEnabled()) { 319 } else if (thePrefs::IsServerCryptLayerUDPEnabled()) { 435 if (thePrefs [all...] |
H A D | BaseClient.cpp | 670 if (thePrefs::AddServersFromClient()) { 804 CTagInt32 tag3(ET_UDPPORT, thePrefs::GetEffectiveUDPPort()); 817 if (thePrefs::CanSeeShares() != vsfaNobody) { 1038 data->WriteHash(thePrefs::GetUserHash()); 1040 data->WriteUInt16(thePrefs::GetPort()); 1058 CTagString tagname(CT_NAME,thePrefs::GetUserNick()); 1075 CTagVarInt tagUdpPorts(CT_EMULE_UDPPORTS, (kadUDPPort << 16) | ((uint32)thePrefs::GetEffectiveUDPPort()), GetVBTTags() ? 0 : 32); 1105 const uint32 uNoViewSharedFiles = (thePrefs::CanSeeShares() == vsfaNobody) ? 1 : 0; // for backward compatibility this has to be a 'negative' flag 1133 const uint32 uSupportsCryptLayer = thePrefs::IsClientCryptLayerSupported() ? 1 : 0; 1134 const uint32 uRequestsCryptLayer = thePrefs [all...] |
H A D | DownloadListCtrl.cpp | 554 feed = CFormat(_("Feedback from: %s (%s)\n\n")) % thePrefs::GetUserNick() % theApp->GetFullMuleVersion(); 760 bool autosort = thePrefs::AutoSortDownload(false); 762 thePrefs::AutoSortDownload(autosort); 788 bool autosort = thePrefs::AutoSortDownload(false); 790 thePrefs::AutoSortDownload(autosort); 970 if (thePrefs::ShowProgBar()) { 989 if ( thePrefs::UseFlatBar() ) { 1009 if (thePrefs::ShowPercent()) { 1023 if (thePrefs::ShowProgBar()) { 1292 s_ChunkBar.Set3dDepth( thePrefs [all...] |
H A D | SearchDlg.cpp | 144 if (thePrefs::GetNetworkED2K()){ 149 if (thePrefs::GetNetworkKademlia()) { 289 if (!thePrefs::GetNetworkED2K()) { 293 if (!thePrefs::GetNetworkKademlia()) { 538 if (!thePrefs::GetNetworkED2K()) { 542 if (!thePrefs::GetNetworkKademlia()) {
|
H A D | EncryptedStreamSocket.cpp | 123 m_StreamCryptState = thePrefs::IsClientCryptLayerSupported() ? ECS_UNKNOWN : ECS_NONE; 271 if (thePrefs::IsClientCryptLayerRequired()) { 282 if (thePrefs::IsClientCryptLayerRequiredStrict() || (!theApp->serverconnect->AwaitingTestFromIP(ip) 391 uint8_t byPadding = (uint8_t)(GetRandomUint8() % (thePrefs::GetCryptTCPPaddingLength() + 1)); 479 md4cpy(achKeyData, thePrefs::GetUserHash().GetHash()); 550 const uint8_t byPaddingLen = theApp->serverconnect->AwaitingTestFromIP(StringIPtoUint32(address.IPAddress())) ? 16 : (thePrefs::GetCryptTCPPaddingLength() + 1);
|
H A D | ExternalConn.cpp | 313 if ( thePrefs::AcceptExternalConnections() ) { 315 if (thePrefs::ECPassword().IsEmpty()) { 420 if ( thePrefs::ECPassword().IsEmpty() ) { 486 if (!passh.Decode(thePrefs::ECPassword())) { 489 + wxT(" ") + thePrefs::ECPassword()); 496 passh.Decode(MD5Sum(thePrefs::ECPassword().Lower() + saltHash).GetHash()); 581 response->AddTag(CECTag(EC_TAG_STATS_UL_SPEED_LIMIT, (uint32)(thePrefs::GetMaxUpload()*1024.0))); 582 response->AddTag(CECTag(EC_TAG_STATS_DL_SPEED_LIMIT, (uint32)(thePrefs::GetMaxDownload()*1024.0))); 682 bool onlyTransmittingClients = thePrefs::IsTransmitOnlyUploadingClients(); 836 if ( thePrefs [all...] |
H A D | ClientUDPSocket.cpp | 61 if (!thePrefs::IsUDPDisabled()) { 72 if (thePrefs::IsUDPDisabled()) { 232 if ((theStats::GetWaitingUserCount() + 50) > thePrefs::GetQueueSize()) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/kademlia/kademlia/ |
H A D | Prefs.cpp | 86 m_clientHash.SetValueBE(thePrefs::GetUserHash().GetHash()); 229 | (thePrefs::IsClientCryptLayerRequired() && encryption) ? 0x04 : 0 230 | (thePrefs::IsClientCryptLayerRequested() && encryption) ? 0x02 : 0 231 | (thePrefs::IsClientCryptLayerSupported() && encryption) ? 0x01 : 0; 236 uint64_t buffer = (uint64_t)thePrefs::GetKadUDPKey() << 32 | targetIP;
|