summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-08-26 13:09:01 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-08-26 13:09:01 +0200
commit4986f76b0a40e11997e572a75260034063023cb0 (patch)
tree7a73146d9b3529f9a00038f76b9a82f327490b1f /device.c
parent021778d370257e1db4893ca0228bb6fa32aa32e1 (diff)
downloadvdr-4986f76b0a40e11997e572a75260034063023cb0.tar.gz
vdr-4986f76b0a40e11997e572a75260034063023cb0.tar.bz2
Added cDevice::ReadFilter()
Diffstat (limited to 'device.c')
-rw-r--r--device.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/device.c b/device.c
index e3ea677f..e2bcd915 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 2.63 2012/08/25 11:56:08 kls Exp $
+ * $Id: device.c 2.64 2012/08/26 12:53:39 kls Exp $
*/
#include "device.h"
@@ -593,6 +593,11 @@ int cDevice::OpenFilter(u_short Pid, u_char Tid, u_char Mask)
return -1;
}
+int cDevice::ReadFilter(int Handle, void *Buffer, size_t Length)
+{
+ return safe_read(Handle, Buffer, Length);
+}
+
void cDevice::CloseFilter(int Handle)
{
close(Handle);