|
SASC-NG
DVBSoftCAM
|
Inheritance diagram for cOverrideCat:Public Member Functions | |
| cOverrideCat (void) | |
| virtual bool | Parse (char *str) |
| int | GetCatEntry (unsigned char *buff) |
Definition at line 188 of file override.c.
| cOverrideCat::cOverrideCat | ( | void | ) | [inline] |
| int cOverrideCat::GetCatEntry | ( | unsigned char * | buff | ) |
Definition at line 209 of file override.c.
References L_CORE_OVER, and PRINTF.
Referenced by cOverrides::GetCat().
| bool cOverrideCat::Parse | ( | char * | str | ) | [virtual] |
Implements cOverride.
Definition at line 197 of file override.c.
References L_CORE_LOAD, L_CORE_OVER, cValidityRange::Parse2(), cValidityRange::Print(), and PRINTF.
{
if((str=Parse2(str))) {
if(sscanf(str,"%x:%x",&caid,&pid)==2) {
PRINTF(L_CORE_OVER,"cat: %s - caid %04x pid %04x",*Print(),caid,pid);
return true;
}
PRINTF(L_CORE_LOAD,"override: CAT format error");
}
return false;
}