--- a/telephonyserver/etelserverandcore/SETEL/ET_CORE.CPP Fri Oct 15 11:27:58 2010 +0300
+++ b/telephonyserver/etelserverandcore/SETEL/ET_CORE.CPP Tue Oct 19 18:11:09 2010 +0300
@@ -1054,6 +1054,21 @@
return NULL;
}
+CReqEntry* CPhoneBase::FindByIpcAndSecureId(const TInt aIpc, const TSecureId aSid)
+//
+// Finds an active request by both IPC and by the TSecureId it was placed on
+//
+ {
+ CReqEntry* reqEntry;
+ TDblQueIter<CReqEntry> iter(iReqActiveList);
+ while(reqEntry = iter++, reqEntry!=NULL)
+ {
+ if(reqEntry->iFunction==aIpc && reqEntry->iMessage.SecureId()==aSid
+ && EFalse != reqEntry->iPlacedRequest)
+ return reqEntry;
+ }
+ return NULL;
+ }
CReqEntry* CPhoneBase::FindByIpcAndTelObjectInWaiting(const TInt aIpc, const CTelObject* aTelObject, const TUint aBufSize)
//
// Finds a waiting request by both IPC and by the TelObject it was placed on