• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/

Lines Matching refs:theApp

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->ipfilter->IsFiltered(m_client->GetIP())) {
394 if (theApp->clientlist->AttachToAlreadyKnown(&m_client,this)) {
398 theApp->clientlist->AddClient(m_client);
445 CKnownFile *reqfile = theApp->sharedfiles->GetFileByID(reqfilehash);
447 reqfile = theApp->downloadqueue->GetFileByID(reqfilehash);
457 theApp->downloadqueue->CheckAndAddKnownSource((CPartFile*)reqfile, m_client);
507 CKnownFile *reqfile = theApp->sharedfiles->GetFileByID(fileID);
509 reqfile = theApp->downloadqueue->GetFileByID(fileID);
551 CPartFile* reqfile = theApp->downloadqueue->GetFileByID(CMD4Hash(buffer));
564 theApp->downloadqueue->RemoveSource(m_client);
580 const CPartFile* file = theApp->downloadqueue->GetFileByID(hash);
591 const CPartFile* file = theApp->downloadqueue->GetFileByID(hash);
612 CKnownFile* reqfile = theApp->sharedfiles->GetFileByID(fileID);
622 theApp->uploadqueue->AddClientToQueue(m_client);
681 theApp->uploadqueue->RemoveFromUploadQueue(m_client);
691 theApp->uploadqueue->RemoveFromUploadQueue(m_client);
778 CServer* pNewServer = theApp->serverlist->GetServerByIP(nNewServerIP);
786 CServer* pNewServer = theApp->serverlist->GetServerByIP(nNewServerIP);
849 theApp->sharedfiles->CopyFileList(list);
1064 CKnownFile* reqfile = theApp->sharedfiles->GetFileByID(reqfilehash);
1066 reqfile = theApp->downloadqueue->GetFileByID(reqfilehash);
1099 theApp->downloadqueue->CheckAndAddKnownSource((CPartFile*)reqfile, m_client);
1216 const CPartFile *reqfile = theApp->downloadqueue->GetFileByID(reqfilehash);
1460 CKnownFile* file = theApp->sharedfiles->GetFileByID(fileID);
1462 file = theApp->downloadqueue->GetFileByID(fileID);
1510 const CKnownFile* file = theApp->downloadqueue->GetFileByID(hash);
1536 const CKnownFile* file = theApp->downloadqueue->GetFileByID(hash);
1615 CKnownFile* pPartFile = theApp->sharedfiles->GetFileByID(hash);
1648 if (theApp->sharedfiles->GetFileByID(fileHash) == NULL) {
1649 if (theApp->downloadqueue->GetFileByID(fileHash) == NULL) {
1657 callback = theApp->clientlist->FindClientByIP(wxUINT32_SWAP_ALWAYS(ip), tcp);
1661 theApp->clientlist->AddClient(callback);
1671 CUpDownClient* buddy = theApp->clientlist->GetBuddy();
1688 CUpDownClient* buddy = theApp->clientlist->GetBuddy();
1699 CUpDownClient* buddy = theApp->clientlist->GetBuddy();
1710 CKnownFile* reqfile = theApp->sharedfiles->GetFileByID(hash);
1713 CUpDownClient* sender = theApp->uploadqueue->GetWaitingClientByIP_UDP(destip, destport, true, &bSenderMultipleIpUnknown);
1719 theApp->clientudp->SendPacket(response, destip, destport, sender->ShouldReceiveCryptUDPPackets(), sender->GetUserHash().GetHash(), false, 0);
1721 theApp->clientudp->SendPacket(response, destip, destport, false, NULL, false, 0);
1762 theApp->clientudp->SendPacket(response, destip, destport, sender->ShouldReceiveCryptUDPPackets(), sender->GetUserHash().GetHash(), false, 0);
1772 theApp->clientudp->SendPacket(response, destip, destport, false, NULL, false, 0);
1806 if (theApp->clientlist->IsKadFirewallCheckIP(m_client->GetIP())) {
1901 if (theApp->ipfilter->IsFiltered(m_remoteip)) {