summaryrefslogtreecommitdiff
path: root/mtd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-04-26 09:18:26 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-04-26 09:18:26 +0200
commita1fda4f2182b99404cef8dca44e388d3482b2f69 (patch)
treefa39c30544b969a805baa8cbb811d068396cc903 /mtd.h
parent1a31974789d2e9e78f0ae6bc5ab776c0f8f1db6a (diff)
downloadvdr-a1fda4f2182b99404cef8dca44e388d3482b2f69.tar.gz
vdr-a1fda4f2182b99404cef8dca44e388d3482b2f69.tar.bz2
Fixed a possible crash when pulling the CAM while decrypting a channel with MTD (cont'd)
Diffstat (limited to 'mtd.h')
-rw-r--r--mtd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mtd.h b/mtd.h
index b7742022..7f2151a3 100644
--- a/mtd.h
+++ b/mtd.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: mtd.h 1.6 2017/03/27 08:30:00 kls Exp $
+ * $Id: mtd.h 1.7 2017/04/26 09:17:08 kls Exp $
*/
#ifndef __MTD_H
@@ -140,6 +140,8 @@ public:
///< Adds the card indexes of the devices of any active MTD CAM slots to
///< the given CardIndexes.
///< Returns true if the array is not empty.
+ void UnAssignAll(void);
+ ///< Unassigns all MTD CAM slots from their devices.
};
#define MTD_DONT_CALL(v) dsyslog("PROGRAMMING ERROR (%s,%d): DON'T CALL %s", __FILE__, __LINE__, __FUNCTION__); return v;