/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/ |
H A D | GuiEvents.cpp | 74 if (theApp->amuledlg) { 94 theApp->downloadqueue->AddSearchToDownload(file, category); 101 theApp->amuledlg->ShowUserCount(str); 109 if (theApp->amuledlg->m_searchwnd) { 112 theApp->amuledlg->m_searchwnd->ResetControls(); 115 theApp->amuledlg->m_searchwnd->KadSearchEnd(0); 117 theApp->amuledlg->m_searchwnd->UpdateProgress(val); 127 theApp->ECServerHandler->m_ec_notifier->DownloadFile_SetDirty((CPartFile *)item); 130 if (theApp->amuledlg->m_transferwnd && theApp [all...] |
H A D | ServerWnd.cpp | 35 #include "amule.h" // Needed for theApp 91 theApp->serverlist->UpdateServerMetFromURL(strURL); 114 if ( theApp->AddServer( toadd, true ) ) { 119 CServer* update = theApp->serverlist->GetServerByAddress(toadd->GetAddress(), toadd->GetPort()); 122 update = theApp->serverlist->GetServerByIPTCP(toadd->GetIP(), toadd->GetPort()); 132 theApp->serverlist->SaveServerMet(); 145 theApp->GetLog(true); // Reset it. 151 theApp->GetServerLog(true); // Reset it 162 if (theApp->IsConnectedED2K()) { 168 ED2KInfoList->SetItem(1, 1, theApp [all...] |
H A D | CatDialog.cpp | 41 #include "amule.h" // Needed for theApp 73 m_category = theApp->glob_prefs->GetCategory(index); 178 for (uint32 i = 0; i < theApp->glob_prefs->GetCatCount(); ++i) { 179 if (m_category == theApp->glob_prefs->GetCategory(i)) { 192 theApp->glob_prefs->CreateCategory( 198 theApp->amuledlg->m_transferwnd->AddCategory(m_category); 200 theApp->glob_prefs->UpdateCategory(index, newname, newpath, 204 theApp->amuledlg->m_transferwnd->UpdateCategory(index); 205 theApp->amuledlg->m_transferwnd->downloadlistctrl->Refresh(); 206 theApp [all...] |
H A D | ExternalConn.cpp | 45 #include "amule.h" // Needed for theApp 155 theApp->downloadqueue->CopyFileList(downloads, true); 165 theApp->sharedfiles->CopyFileList(shares); 239 wxASSERT(theApp->ECServerHandler); 240 theApp->ECServerHandler->AddSocket(this); 247 wxASSERT(theApp->ECServerHandler); 248 theApp->ECServerHandler->RemoveSocket(this); 279 theApp->ECServerHandler->m_ec_notifier->Remove_EC_Client(this); 524 theApp->ECServerHandler->m_ec_notifier->Add_EC_Client(this); 588 theApp [all...] |
H A D | MuleTrayIcon.cpp | 40 #include "amule.h" // Needed for theApp 108 theApp->glob_prefs->SendToRemote(); 134 theApp->glob_prefs->SendToRemote(); 145 theApp->amuledlg->OnBnConnect(evt); 151 theApp->amuledlg->DoIconize(theApp->amuledlg->IsShown()); 157 if (theApp->amuledlg->IsEnabled()) { 158 theApp->amuledlg->Close(); 339 if (theApp->IsConnectedED2K()) { 340 temp += CFormat(wxT("%u")) % theApp [all...] |
H A D | ServerConnect.cpp | 42 #include "amule.h" // Needed for theApp 48 #include "IPFilter.h" // Needed for theApp->ipfilter->IsReady() 97 if (!theApp->ipfilter->IsReady()) { 99 theApp->ipfilter->ConnectToAnyServerWhenReady(); 139 theApp->listensocket->Process(); 204 CServer* update = theApp->serverlist->GetServerByAddress( sender->cur_server->GetAddress(), sender->cur_server->GetPort() ); 279 CServer* update = theApp->serverlist->GetServerByAddress(connectedsocket->cur_server->GetAddress(),sender->cur_server->GetPort()); 284 theApp->sharedfiles->ClearED2KPublishInfo(); 299 theApp->ShowConnectionState(); 343 CServer* pServer = theApp [all...] |
H A D | TransferWnd.cpp | 45 #include "amule.h" // Needed for theApp 97 theApp->glob_prefs->GetCategory(0)->title = GetCatTitle(thePrefs::GetAllcatFilter()); 98 theApp->glob_prefs->GetCategory(0)->path = thePrefs::GetIncomingDir(); 101 for ( uint32 i = 0; i < theApp->glob_prefs->GetCatCount(); i++ ) { 102 m_dlTab->AddPage( new wxPanel(m_dlTab), theApp->glob_prefs->GetCategory(i)->title ); 149 theApp->amuledlg->m_searchwnd->UpdateCatChoice(); 154 uint32 nrCats = theApp->glob_prefs->GetCatCount(); 162 for (CDownQueueRem::const_iterator it = theApp->downloadqueue->begin(); it != theApp->downloadqueue->end(); ++it) { 166 theApp [all...] |
H A D | ServerSocket.cpp | 44 #include "amule.h" // Needed for theApp 171 CServer *pServer = theApp->serverlist->GetServerByAddress( 176 AddDebugLogLineN(logServer, wxT("theApp->serverlist->GetServerByAddress() returned NULL")); 246 CServer* eserver = theApp->serverlist->GetServerByAddress(cur_server->GetAddress(),cur_server->GetPort()); 252 CServer* pServer = theApp->serverlist->GetServerByAddress(cur_server->GetAddress(),cur_server->GetPort()); 267 CServer* pServer = theApp->serverlist->GetServerByAddress(cur_server->GetAddress(),cur_server->GetPort()); 286 CServer* eserver = theApp->serverlist->GetServerByAddress(cur_server->GetAddress(),cur_server->GetPort()); 296 theApp->AddServerMessageLine(message); 320 pServer = theApp->serverlist->GetServerByAddress(cur_server->GetAddress(), rport); 401 theApp [all...] |
H A D | PrefsUnifiedDlg.cpp | 34 #include "amule.h" // Needed for theApp 404 m_ShareSelector->SetSharedDirectories(&theApp->glob_prefs->shareddir_list); 465 if (!theApp->m_connect->IsConnectedToLocalHost()) { 539 theApp->glob_prefs->shareddir_list.clear(); 540 m_ShareSelector->GetSharedDirectories(&theApp->glob_prefs->shareddir_list); 545 theApp->amuledlg->m_statisticswnd->ApplyStatsColor(i); 548 theApp->amuledlg->m_kademliawnd->SetGraphColors(); 565 theApp->glob_prefs->SendToRemote(); 620 if ((CPath::GetFileSize(theApp->ConfigDir + wxT("addresses.dat")) == 0) && 634 theApp [all...] |
H A D | ClientUDPSocket.cpp | 44 #include "amule.h" // Needed for theApp 100 Kademlia::CKademlia::ProcessPacket(decryptedBuffer, packetLen, wxUINT32_SWAP_ALWAYS(ip), port, (Kademlia::CPrefs::GetUDPVerifyKey(ip) == receiverVerifyKey), Kademlia::CKadUDPKey(senderVerifyKey, theApp->GetPublicIP(false))); 117 Kademlia::CKademlia::ProcessPacket(&(unpack[0]), unpackedsize + 2, wxUINT32_SWAP_ALWAYS(ip), port, (Kademlia::CPrefs::GetUDPVerifyKey(ip) == receiverVerifyKey), Kademlia::CKadUDPKey(senderVerifyKey, theApp->GetPublicIP(false))); 146 CUpDownClient* buddy = theApp->clientlist->GetBuddy(); 177 CKnownFile* reqfile = theApp->sharedfiles->GetFileByID(reqfilehash); 179 CUpDownClient* sender = theApp->uploadqueue->GetWaitingClientByIP_UDP(host, port, true, &bSenderMultipleIpUnknown); 246 CUpDownClient* sender = theApp->downloadqueue->GetDownloadClientByIP_UDP(host,port); 255 CUpDownClient* sender = theApp->downloadqueue->GetDownloadClientByIP_UDP(host,port); 270 CUpDownClient* sender = theApp->downloadqueue->GetDownloadClientByIP_UDP(host,port); 281 if (!theApp [all...] |
H A D | BaseClient.cpp | 68 #include "amule.h" // Needed for theApp 140 if ((m_Friend = theApp->friendlist->FindFriend(CMD4Hash(), m_dwUserIP, m_nUserPort)) != NULL){ 411 if ( theApp->clientlist ) { 412 theApp->clientlist->RemoveClient( this ); 416 if (theApp->uploadqueue) { 417 theApp->uploadqueue->RemoveFromUploadQueue(this); 418 theApp->uploadqueue->RemoveFromWaitingQueue(this); 420 if (theApp->downloadqueue) { 421 theApp->downloadqueue->RemoveSource(this); 673 if (!theApp [all...] |
H A D | IPFilter.cpp | 32 #include "amule.h" // Needed for theApp 46 #include "DownloadQueue.h" // Needed for theApp->downloadqueue 114 if ( !LoadFromFile(theApp->ConfigDir + wxT("ipfilter.dat")) && 130 LoadFromFile(theApp->ConfigDir + wxT("ipfilter_static.dat")); 375 const wxString normalDat = theApp->ConfigDir + wxT("ipfilter.dat"); 386 const wxString staticDat = theApp->ConfigDir + wxT("ipfilter_static.dat"); 481 wxString filename = theApp->ConfigDir + wxT("ipfilter.download"); 482 wxString oldfilename = theApp->ConfigDir + wxT("ipfilter.dat"); 496 wxString newDat = theApp->ConfigDir + wxT("ipfilter.download"); 497 wxString oldDat = theApp [all...] |
H A D | ListenSocket.cpp | 34 #include "amule.h" // Needed for theApp 61 SetEventHandler(*theApp, ID_LISTENSOCKET_EVENT); 123 if (TooManySockets(true) && !theApp->serverconnect->IsConnecting()) { 142 wxASSERT(theApp->IsRunning()); 174 if ((GetOpenSockets()+5 < thePrefs::GetMaxConnections() || theApp->serverconnect->IsConnecting()) && !bListening) { 248 if( theApp->IsConnected() ) {
|
H A D | ServerList.cpp | 47 #include "amule.h" // Needed for theApp 69 bool bRes = LoadServerMet(CPath(theApp->ConfigDir + wxT("server.met"))); 72 m_staticServersConfig = theApp->ConfigDir + wxT("staticservers.dat"); 154 if ( !theApp->AddServer(newserver) ) { 208 theApp->ipfilter->IsReady() 209 && theApp->ipfilter->IsFiltered(in_server->GetIP(), true)) 266 if (theApp->IsConnectedED2K() && m_servers.size() > 0) { 287 if (!ping_server->GetCryptPingReplyPending() && (!ping_server->GetLastPingedTime() || (tNow - ping_server->GetLastPingedTime()) >= UDPSERVSTATREASKTIME) && theApp->GetPublicIP() && thePrefs::IsServerCryptLayerUDPEnabled()) { 313 theApp->serverconnect->SendUDPPacket(packet, ping_server, true, true /*raw packet*/, 12 /* Port offset is 12 for obfuscated encryption*/); 314 } else if (ping_server->GetCryptPingReplyPending() || theApp [all...] |
H A D | amuleDlg.cpp | 54 #include "amule.h" // Needed for theApp 247 m_IP2Country = new CIP2Country(theApp->ConfigDir); 254 m_statisticswnd = new CStatisticsDlg(p_cnt, theApp->m_statistics); 394 if(!theApp->IsConnected()) { 397 if(theApp->IsConnectedED2K() && theApp->serverconnect->IsLowID()) { 544 theApp->amuledlg = NULL; 557 bool disconnect = (theApp->IsConnectedED2K() || theApp->serverconnect->IsConnecting()) 559 || theApp [all...] |
H A D | ClientTCPSocket.cpp | 40 #include "amule.h" // Needed for theApp 148 theApp->listensocket->AddSocket(this); 149 theApp->listensocket->AddConnection(); 163 if (theApp->listensocket && !theApp->listensocket->OnShutdown()) { 164 theApp->listensocket->RemoveSocket(this); 178 if (theApp->ipfilter->IsFiltered(m_remoteip)) { 181 } else if (theApp->clientlist->IsBannedClient(m_remoteip)) { 243 wxASSERT(theApp->listensocket->IsValidSocket(this)); 379 if (theApp [all...] |
H A D | UploadQueue.cpp | 51 #include "amule.h" // Needed for theApp 87 || !theApp->sharedfiles->GetFileByID(cur_client->GetUploadFileID())) { 195 || !theApp->sharedfiles->GetFileByID(directadd->GetUploadFileID())) { 221 theApp->uploadBandwidthThrottler->AddToStandardList(m_uploadinglist.size(), newclient->GetSocket()); 252 || theApp->listensocket->TooManySockets()) { 282 uint64 sentBytes = theApp->uploadBandwidthThrottler->GetNumberOfSentBytesSinceLastCallAndReset(); 283 (void)theApp->uploadBandwidthThrottler->GetNumberOfSentBytesOverheadSinceLastCallAndReset(); 384 if (theApp->serverconnect->IsConnected() && theApp->serverconnect->IsLowID() && !theApp [all...] |
H A D | MuleUDPSocket.cpp | 32 #include "amule.h" // Needed for theApp 59 theApp->uploadBandwidthThrottler->RemoveFromAllQueues(this); 72 m_socket->SetEventHandler(*theApp, m_id); 128 theApp->uploadBandwidthThrottler->QueueForSendingControlPacket(this); 175 } else if (theApp->clientlist->IsBannedClient(ip)) { 249 theApp->uploadBandwidthThrottler->QueueForSendingControlPacket(this); 274 if (item.bEncrypt && (theApp->GetPublicIP() > 0 || item.bKad)) { 294 theApp->uploadBandwidthThrottler->QueueForSendingControlPacket(this);
|
H A D | ClientCreditsList.cpp | 38 #include "amule.h" // Needed for theApp 68 CPath fileName = CPath(theApp->ConfigDir + CLIENTS_MET_FILENAME); 84 CPath bakFileName = CPath(theApp->ConfigDir + CLIENTS_MET_BAK_FILENAME); 174 wxString name(theApp->ConfigDir + CLIENTS_MET_FILENAME); 257 wxCharBuffer filename = filename2char(theApp->ConfigDir + CRYPTKEY_FILENAME); 294 if (wxFileExists(theApp->ConfigDir + CRYPTKEY_FILENAME)) { 295 off_t keySize = CPath::GetFileSize(theApp->ConfigDir + CRYPTKEY_FILENAME); 310 CryptoPP::FileSource filesource(filename2char(theApp->ConfigDir + CRYPTKEY_FILENAME), true, new CryptoPP::Base64Decoder); 406 if (!theApp->GetPublicIP(true)) { 407 if (::IsLowID(theApp [all...] |
H A D | DownloadQueue.cpp | 48 #include "amule.h" // Needed for theApp 243 } else if (!PlatformSpecific::CanFSHandleLargeFiles(theApp->glob_prefs->GetCatPath(category))) { 367 if (category < theApp->glob_prefs->GetCatCount()) { 373 theApp->searchlist->UpdateSearchFileByHash(file->GetFileHash()); // Update file in the search dialog if it's still open 380 if (CKnownFile* file = theApp->sharedfiles->GetFileByID(fileid)) { 389 theApp->sharedfiles->RemoveFile(file); 511 if (theApp->serverconnect->IsUDPSocketAvailable()) { 516 theApp->serverlist->ServerStats(); 523 if (theApp->serverconnect->IsUDPSocketAvailable()) { 541 theApp [all...] |
H A D | ServerListCtrl.cpp | 35 #include "amule.h" // Needed for theApp 141 bool connected = theApp->IsConnectedED2K() || 142 theApp->serverconnect->IsConnecting(); 154 theApp->serverlist->SetStaticServer(server, false); 156 theApp->serverlist->RemoveServer( server ); 162 theApp->serverlist->RemoveServer( server ); 195 if (theApp->amuledlg->m_IP2Country->IsEnabled() && thePrefs::IsGeoIPEnabled()) { 196 const CountryData& countrydata = theApp->amuledlg->m_IP2Country->GetCountryData(server->GetFullIP()); 465 theApp->serverlist->SetServerPrio(server, priority); 481 theApp [all...] |
H A D | UploadClient.cpp | 41 #include "amule.h" // Needed for theApp 198 CKnownFile* srcfile = theApp->sharedfiles->GetFileByID(CMD4Hash(currentblock->FileID)); 241 theApp->sharedfiles->RemoveFile(srcfile); 281 theApp->uploadqueue->RemoveFromUploadQueue(this); 593 credits->AddUploaded(sentBytesCompleteFile + sentBytesPartFile, GetIP(), theApp->CryptoAvailable()); 598 if (theApp->uploadqueue->CheckForTimeOver(this)) { 599 theApp->uploadqueue->RemoveFromUploadQueue(this); 660 theApp->uploadqueue->AddClientToQueue(this); 678 CKnownFile* file = theApp->sharedfiles->GetFileByID( forfileid ); 682 if ((file = theApp [all...] |
H A D | KadDlg.cpp | 186 theApp->BootstrapKad(ip, port); 199 theApp->StartKad(); 205 theApp->StopKad(); 217 theApp->UpdateNotesDat(strURL);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/kademlia/kademlia/ |
H A D | UDPFirewallTester.cpp | 67 theApp->ShowConnectionState(); 104 theApp->ShowConnectionState(); 153 theApp->ShowConnectionState(); 162 theApp->ShowConnectionState(); 236 if (wxUINT32_SWAP_ALWAYS(curContact.GetIPAddress()) == theApp->GetPublicIP() || curContact.GetClientID() == CKademlia::GetPrefs()->GetKadID()) { 252 if (theApp->clientlist->DoRequestFirewallCheckUDP(curContact)) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/win/bmed/ |
H A D | bmed.h | 58 extern CBmedApp theApp;
|