diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-01-09 13:42:41 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-01-09 13:42:41 +0100 |
commit | d1ddb3978185ce8b3a7f783fac74b82a352fd650 (patch) | |
tree | c8bcd73d403a300a942db03118427f6f61f59c98 /ci.h | |
parent | 882273d508675c22d54b5a367b70729f6adee6cb (diff) | |
download | vdr-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |