summaryrefslogtreecommitdiff
path: root/ci.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-12-24 10:30:35 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2003-12-24 10:30:35 +0100
commit6c4e6cc666da440c2f09e4cab9ab9b8ca99e5213 (patch)
tree318631b1603be9c5ae92d6a5338f72ec797c3f47 /ci.h
parent1d32f7c0597da0d773a8eb718a171ac6dacc73ad (diff)
downloadvdr-6c4e6cc666da440c2f09e4cab9ab9b8ca99e5213.tar.gz
vdr-6c4e6cc666da440c2f09e4cab9ab9b8ca99e5213.tar.bz2
Now the CA descriptors are sent to the CAM in the 'program' or 'ES level' sections
Diffstat (limited to 'ci.h')
-rw-r--r--ci.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/ci.h b/ci.h
index e83deea0..673bad21 100644
--- a/ci.h
+++ b/ci.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.h 1.10 2003/12/23 10:20:59 kls Exp $
+ * $Id: ci.h 1.11 2003/12/24 10:05:46 kls Exp $
*/
#ifndef __CI_H
@@ -66,10 +66,14 @@ private:
int length;
int esInfoLengthPos;
uint8_t capmt[2048]; ///< XXX is there a specified maximum?
+ int caDescriptorsLength;
+ uint8_t caDescriptors[2048];
+ bool streamFlag;
+ void AddCaDescriptors(int Length, const uint8_t *Data);
public:
- cCiCaPmt(int ProgramNumber);
+ cCiCaPmt(int Source, int Transponder, int ProgramNumber, const unsigned short *CaSystemIds);
+ bool Valid(void);
void AddPid(int Pid, uint8_t StreamType);
- void AddCaDescriptor(int Length, uint8_t *Data);
};
#define MAX_CI_SESSION 16 //XXX