|
SASC-NG
DVBSoftCAM
|
#include <parse.h>
Inheritance diagram for cProviderIrdeto:Public Member Functions | |
| cProviderIrdeto (void) | |
| cProviderIrdeto (unsigned char pb, const unsigned char *pi) | |
| virtual bool | MatchID (const unsigned char *data) |
| virtual bool | MatchEMM (const unsigned char *data) |
| virtual unsigned long long | ProvId (void) |
Public Attributes | |
| unsigned char | provBase |
| unsigned char | provId [3] |
| cProviderIrdeto::cProviderIrdeto | ( | unsigned char | pb, |
| const unsigned char * | pi | ||
| ) |
| bool cProviderIrdeto::MatchEMM | ( | const unsigned char * | data | ) | [virtual] |
Implements cProvider.
Definition at line 179 of file parse.c.
References cParseIrdeto::AddrBase(), cParseIrdeto::AddrLen(), provBase, and provId.
{
const unsigned int len=cParseIrdeto::AddrLen(data);
const unsigned int mode=cParseIrdeto::AddrBase(data);
return ( mode<0x10 && len<=sizeof(provId)
&& mode==provBase && (!len || !memcmp(&data[4],provId,len)));
}
| bool cProviderIrdeto::MatchID | ( | const unsigned char * | data | ) | [virtual] |
Implements cProvider.
Definition at line 173 of file parse.c.
References cParseIrdeto::AddrBase(), and provBase.
{
const unsigned int mode=cParseIrdeto::AddrBase(data);
return (mode<0x10 && mode==provBase);
}
| unsigned long long cProviderIrdeto::ProvId | ( | void | ) | [virtual] |
| unsigned char cProviderIrdeto::provBase |
Definition at line 86 of file parse.h.
Referenced by cProviderIrdeto(), MatchEMM(), MatchID(), cIrdCardInfo::Parse(), cSystemIrd::ProcessEMM(), ProvId(), and cIrdCardInfo::ToString().
| unsigned char cProviderIrdeto::provId[3] |
Definition at line 87 of file parse.h.
Referenced by cProviderIrdeto(), MatchEMM(), cIrdCardInfo::Parse(), cSystemIrd::ProcessEMM(), ProvId(), cIrdCardInfo::ToString(), and cIrdCardInfos::Update().