-eDVBCISession *eDVBCISession::createSession(eDVBCISlot *slot, const unsigned char *resource_identifier, unsigned char &status)
+void eDVBCISession::deleteSessions(const eDVBCISlot *slot)
+{
+ ePtr<eDVBCISession> ptr;
+ for (unsigned short session_nb=0; session_nb < SLMS; ++session_nb)
+ {
+ ptr = sessions[session_nb];
+ if (ptr && ptr->slot == slot)
+ sessions[session_nb]=0;
+ }
+}
+
+void eDVBCISession::createSession(eDVBCISlot *slot, const unsigned char *resource_identifier, unsigned char &status, ePtr<eDVBCISession> &session)