|
SASC
DVBSoftCAM
|
Inheritance diagram for cOverrideIgnore:Public Member Functions | |
| cOverrideIgnore (void) | |
| virtual bool | Parse (char *str) |
| bool | Ignore (int Caid) |
| cOverrideIgnore (void) | |
| virtual bool | Parse (char *str) |
| bool | Ignore (int Caid) |
Definition at line 453 of file override.c.
| cOverrideIgnore::cOverrideIgnore | ( | void | ) | [inline] |
Definition at line 457 of file override.c.
References OV_IGNORE, and cOverride::type.
| cOverrideIgnore::cOverrideIgnore | ( | void | ) | [inline] |
Definition at line 457 of file override.c.
References OV_IGNORE, and cOverride::type.
| bool cOverrideIgnore::Ignore | ( | int | Caid | ) |
| bool cOverrideIgnore::Ignore | ( | int | Caid | ) |
| virtual bool cOverrideIgnore::Parse | ( | char * | str | ) | [virtual] |
Implements cOverride.
| bool cOverrideIgnore::Parse | ( | char * | str | ) | [virtual] |
Implements cOverride.
Definition at line 462 of file override.c.
References i, L_CORE_LOAD, L_CORE_OVER, LBEND, LBPUT, LBSTART, OV_MAXIGNORES, cValidityRange::Parse2(), cValidityRange::Print(), and PRINTF.
{
if((str=Parse2(str,true))) {
num=0;
int n=-1;
do {
int l=n+1;
if(sscanf(&str[l],"%x%n",&caid[num],&n)!=1) {
PRINTF(L_CORE_LOAD,"override: IGNORE format error");
return false;
}
n+=l; num++;
} while(num<OV_MAXIGNORES && str[n]==':');
LBSTART(L_CORE_OVER);
LBPUT("ignore: %s - caids",*Print());
for(int i=0; i<num; i++) LBPUT(" %02x",caid[i]);
LBEND();
return true;
}
return false;
}