aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-06 16:24:53 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-01-06 16:24:53 +0000
commitb6bb02750e7e7e44d6c4e99a9754006a1e1051e5 (patch)
tree441906ab1c755bc4ba89111069a248b60f3b4c25 /lib
parent0c694cee579948974d1c12750695e044a00216a0 (diff)
downloadenigma2-b6bb02750e7e7e44d6c4e99a9754006a1e1051e5.tar.gz
enigma2-b6bb02750e7e7e44d6c4e99a9754006a1e1051e5.zip
one definition is enough
Diffstat (limited to 'lib')
-rw-r--r--lib/dvb/idemux.h41
-rw-r--r--lib/dvb/idvb.h41
-rw-r--r--lib/dvb/isection.h41
3 files changed, 41 insertions, 82 deletions
diff --git a/lib/dvb/idemux.h b/lib/dvb/idemux.h
index b04ad000..2b750882 100644
--- a/lib/dvb/idemux.h
+++ b/lib/dvb/idemux.h
@@ -3,47 +3,6 @@
#include <lib/dvb/idvb.h>
-#ifndef DMX_FILTER_SIZE
-#define DMX_FILTER_SIZE 16
-#endif
-
-struct eDVBSectionFilterMask
-{
- int pid;
- /* mode is 0 for positive, 1 for negative filtering */
- __u8 data[DMX_FILTER_SIZE], mask[DMX_FILTER_SIZE], mode[DMX_FILTER_SIZE];
- enum {
- rfCRC=1,
- rfNoAbort=2
- };
- int flags;
-};
-
-struct eDVBTableSpec
-{
- int pid, tid, tidext, tid_mask, tidext_mask;
- int version;
- int timeout; /* timeout in ms */
- enum
- {
- tfInOrder=1,
- /*
- tfAnyVersion filter ANY version
- 0 filter all EXCEPT given version (negative filtering)
- tfThisVersion filter only THIS version
- */
- tfAnyVersion=2,
- tfThisVersion=4,
- tfHaveTID=8,
- tfHaveTIDExt=16,
- tfCheckCRC=32,
- tfHaveTimeout=64,
- tfHaveTIDMask=128,
- tfHaveTIDExtMask=256
- };
- int flags;
-};
-
class iDVBSectionReader: public iObject
{
public:
diff --git a/lib/dvb/idvb.h b/lib/dvb/idvb.h
index a34be984..d5f399c0 100644
--- a/lib/dvb/idvb.h
+++ b/lib/dvb/idvb.h
@@ -27,6 +27,47 @@
#define CAID_LIST std::slist<uint16_t>
#endif
+#ifndef DMX_FILTER_SIZE
+#define DMX_FILTER_SIZE 16
+#endif
+
+struct eDVBSectionFilterMask
+{
+ int pid;
+ /* mode is 0 for positive, 1 for negative filtering */
+ __u8 data[DMX_FILTER_SIZE], mask[DMX_FILTER_SIZE], mode[DMX_FILTER_SIZE];
+ enum {
+ rfCRC=1,
+ rfNoAbort=2
+ };
+ int flags;
+};
+
+struct eDVBTableSpec
+{
+ int pid, tid, tidext, tid_mask, tidext_mask;
+ int version;
+ int timeout; /* timeout in ms */
+ enum
+ {
+ tfInOrder=1,
+ /*
+ tfAnyVersion filter ANY version
+ 0 filter all EXCEPT given version (negative filtering)
+ tfThisVersion filter only THIS version
+ */
+ tfAnyVersion=2,
+ tfThisVersion=4,
+ tfHaveTID=8,
+ tfHaveTIDExt=16,
+ tfCheckCRC=32,
+ tfHaveTimeout=64,
+ tfHaveTIDMask=128,
+ tfHaveTIDExtMask=256
+ };
+ int flags;
+};
+
struct eBouquet
{
std::string m_bouquet_name;
diff --git a/lib/dvb/isection.h b/lib/dvb/isection.h
index 5a0c5cf4..2b48a6b1 100644
--- a/lib/dvb/isection.h
+++ b/lib/dvb/isection.h
@@ -3,47 +3,6 @@
#include <lib/dvb/idvb.h>
-#ifndef DMX_FILTER_SIZE
-#define DMX_FILTER_SIZE 16
-#endif
-
-struct eDVBSectionFilterMask
-{
- int pid;
- /* mode is 0 for positive, 1 for negative filtering */
- __u8 data[DMX_FILTER_SIZE], mask[DMX_FILTER_SIZE], mode[DMX_FILTER_SIZE];
- enum {
- rfCRC=1,
- rfNoAbort=2
- };
- int flags;
-};
-
-struct eDVBTableSpec
-{
- int pid, tid, tidext, tid_mask, tidext_mask;
- int version;
- int timeout; /* timeout in ms */
- enum
- {
- tfInOrder=1,
- /*
- tfAnyVersion filter ANY version
- 0 filter all EXCEPT given version (negative filtering)
- tfThisVersion filter only THIS version
- */
- tfAnyVersion=2,
- tfThisVersion=4,
- tfHaveTID=8,
- tfHaveTIDExt=16,
- tfCheckCRC=32,
- tfHaveTimeout=64,
- tfHaveTIDMask=128,
- tfHaveTIDExtMask=256
- };
- int flags;
-};
-
class iDVBSectionReader: public iObject
{
public: