summaryrefslogtreecommitdiff
path: root/ci.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-01-09 13:42:41 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2017-01-09 13:42:41 +0100
commitd1ddb3978185ce8b3a7f783fac74b82a352fd650 (patch)
treec8bcd73d403a300a942db03118427f6f61f59c98 /ci.h
parent882273d508675c22d54b5a367b70729f6adee6cb (diff)
downloadvdr-d1ddb3978185ce8b3a7f783fac74b82a352fd650.tar.gz
vdr-d1ddb3978185ce8b3a7f783fac74b82a352fd650.tar.bz2
The channel/CAM relations are now stored in the file 'cam.data'; fixed a flaw in handling timeouts for encrypted channels
Diffstat (limited to 'ci.h')
-rw-r--r--ci.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ci.h b/ci.h
index 5a4dc98d..c61599e5 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 3.11 2015/01/31 14:36:41 kls Exp $
+ * $Id: ci.h 4.1 2017/01/09 12:51:05 kls Exp $
*/
#ifndef __CI_H
@@ -310,6 +310,7 @@ class cChannelCamRelation;
class cChannelCamRelations : public cList<cChannelCamRelation> {
private:
cMutex mutex;
+ cString fileName;
cChannelCamRelation *GetEntry(tChannelID ChannelID);
cChannelCamRelation *AddEntry(tChannelID ChannelID);
time_t lastCleanup;
@@ -323,6 +324,8 @@ public:
void SetDecrypt(tChannelID ChannelID, int CamSlotNumber);
void ClrChecked(tChannelID ChannelID, int CamSlotNumber);
void ClrDecrypt(tChannelID ChannelID, int CamSlotNumber);
+ void Load(const char *FileName);
+ void Save(void);
};
extern cChannelCamRelations ChannelCamRelations;