summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-12-28 13:29:54 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-12-28 13:29:54 +0100
commit00e2415b81aa1808ab084874cb2eedccb89ec5ca (patch)
treecb9487c63a10e3a0d2cb5124233c8c2571c6cdd1 /device.h
parent6a8a2cf5fb78a244db19a2b49da98e0d1d2d91a0 (diff)
downloadvdr-00e2415b81aa1808ab084874cb2eedccb89ec5ca.tar.gz
vdr-00e2415b81aa1808ab084874cb2eedccb89ec5ca.tar.bz2
Implemented cCamSlot::Decrypt()
Diffstat (limited to 'device.h')
-rw-r--r--device.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/device.h b/device.h
index cf839f68..1cbd6cc9 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 3.6 2013/12/25 13:53:35 kls Exp $
+ * $Id: device.h 3.7 2013/12/28 12:59:13 kls Exp $
*/
#ifndef __DEVICE_H
@@ -829,8 +829,14 @@ private:
virtual void Action(void);
public:
cTSBuffer(int File, int Size, int CardIndex);
- ~cTSBuffer();
- uchar *Get(void);
+ virtual ~cTSBuffer();
+ uchar *Get(int *Available = NULL);
+ ///< Returns a pointer to the first TS packet in the buffer. If Available is given,
+ ///< it will return the total number of consecutive bytes pointed to in the buffer.
+ ///< It is guaranteed that the returned pointer points to a TS_SYNC_BYTE and that
+ ///< there are at least TS_SIZE bytes in the buffer. Otherwise NULL will be
+ ///< returned and the value in Available (if given) is undefined.
+ ///< Each call to Get() returns a pointer to the next TS packet in the buffer.
};
#endif //__DEVICE_H