1 #ifndef __dvb_isection_h
2 #define __dvb_isection_h
4 #include <lib/dvb/idvb.h>
6 #ifndef DMX_FILTER_SIZE
7 #define DMX_FILTER_SIZE 16
10 struct eDVBSectionFilterMask
13 /* mode is 0 for positive, 1 for negative filtering */
14 __u8 data[DMX_FILTER_SIZE], mask[DMX_FILTER_SIZE], mode[DMX_FILTER_SIZE];
24 int pid, tid, tidext, tid_mask, tidext_mask;
26 int timeout; /* timeout in ms */
31 tfAnyVersion filter ANY version
32 0 filter all EXCEPT given version (negative filtering)
33 tfThisVersion filter only THIS version
47 class iDVBSectionReader: public iObject
50 virtual RESULT start(const eDVBSectionFilterMask &mask)=0;
51 virtual RESULT stop()=0;
52 virtual RESULT connectRead(const Slot1<void,const __u8*> &read, ePtr<eConnection> &conn)=0;
53 virtual ~iDVBSectionReader() { };