diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-08-26 13:09:01 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-08-26 13:09:01 +0200 |
commit | 4986f76b0a40e11997e572a75260034063023cb0 (patch) | |
tree | 7a73146d9b3529f9a00038f76b9a82f327490b1f /device.c | |
parent | 021778d370257e1db4893ca0228bb6fa32aa32e1 (diff) | |
download | vdr-4986f76b0a40e11997e572a75260034063023cb0.tar.gz vdr-4986f76b0a40e11997e572a75260034063023cb0.tar.bz2 |
Added cDevice::ReadFilter()
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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); |