mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Adapted c(Dvb)Device::ProvidesCa() to the dynamic CA handling
This commit is contained in:
11
ci.c
11
ci.c
@@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: ci.c 1.41 2005/12/30 15:41:38 kls Exp $
|
||||
* $Id: ci.c 1.42 2006/01/07 15:07:16 kls Exp $
|
||||
*/
|
||||
|
||||
#include "ci.h"
|
||||
@@ -1639,6 +1639,15 @@ int cCiHandler::CloseAllSessions(int Slot)
|
||||
return result;
|
||||
}
|
||||
|
||||
int cCiHandler::NumCams(void)
|
||||
{
|
||||
int result = 0;
|
||||
for (int i = 0; i < MAX_CI_SLOT; i++)
|
||||
if (moduleReady[i])
|
||||
result++;
|
||||
return result;
|
||||
}
|
||||
|
||||
bool cCiHandler::Ready(void)
|
||||
{
|
||||
cMutexLock MutexLock(&mutex);
|
||||
|
Reference in New Issue
Block a user