13 #include <sys/types.h> 23 void SetSectionFlag(
uchar Section,
bool On) {
if (On) sections[Section / 8] |= (1 << (Section % 8));
else sections[Section / 8] &= ~(1 << (Section % 8)); }
30 bool Sync(
uchar Version,
int Number,
int LastNumber);
43 bool Matches(u_short Pid,
u_char Tid);
66 virtual void Process(u_short Pid,
u_char Tid,
const u_char *Data,
int Length) = 0;
83 bool Matches(u_short Pid,
u_char Tid);
87 void Add(u_short Pid,
u_char Tid,
u_char Mask = 0xFF,
bool Sticky =
false);
const cChannel * Channel(void)
cList< cFilterData > data
void Add(const cFilterData *FilterData)
bool GetSectionFlag(uchar Section)
void SetSectionFlag(uchar Section, bool On)
bool Sync(uchar Version, int Number, int LastNumber)
cSectionHandler * sectionHandler
void Del(const cFilterData *FilterData)