summaryrefslogtreecommitdiff
path: root/libsi/si.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-12 22:19:34 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-12 22:19:34 +0100
commit2a11c183b5cd6700edb89cf94515b8390a5f8a7a (patch)
treea280807ca2d8ff265d1d81c3fcf9c130443e11ac /libsi/si.h
parent89ecc6b4527740bb4307602dc5fb5416d5c40cfc (diff)
downloadvdr-2a11c183b5cd6700edb89cf94515b8390a5f8a7a.tar.gz
vdr-2a11c183b5cd6700edb89cf94515b8390a5f8a7a.tar.bz2
Added LinkageDescriptor handling to 'libsi'
Diffstat (limited to 'libsi/si.h')
-rw-r--r--libsi/si.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/libsi/si.h b/libsi/si.h
index d2ac417c..4666c2d4 100644
--- a/libsi/si.h
+++ b/libsi/si.h
@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: si.h 1.5 2004/01/09 15:59:53 kls Exp $
+ * $Id: si.h 1.6 2004/01/12 16:19:11 kls Exp $
* *
***************************************************************************/
@@ -154,6 +154,18 @@ enum RunningStatus { RunningStatusUndefined = 0,
RunningStatusRunning = 4
};
+enum LinkageType { LinkageTypeInformationService = 0x01,
+ LinkageTypeEPGService = 0x02,
+ LinkageTypeCaReplacementService = 0x03,
+ LinkageTypeTSContainingCompleteNetworkBouquetSi = 0x04,
+ LinkageTypeServiceReplacementService = 0x05,
+ LinkageTypeDataBroadcastService = 0x06,
+ LinkageTypeRCSMap = 0x07,
+ LinkageTypeMobileHandover = 0x08,
+ LinkageTypeSystemSoftwareUpdateService = 0x09,
+ LinkageTypeTSContainingSsuBatOrNit = 0x0A
+ };
+
/* Some principles:
- Objects that return references to other objects contained in their data must make sure
that the returned objects have been parsed.
@@ -167,6 +179,7 @@ public:
Object(CharArray &d);
//can only be called once since data is immutable
void setData(const unsigned char*data, unsigned int size, bool doCopy=true);
+ CharArray getData() { return data; }
virtual int getLength() = 0;
protected:
CharArray data;
@@ -224,9 +237,6 @@ private:
class LoopElement : public Object {
};
-class SubStructure : public LoopElement {
-};
-
class Descriptor : public LoopElement {
public:
virtual int getLength();