diff options
| author | Jochen Dolze <vdr@dolze.de> | 2009-10-02 17:36:58 +0200 |
|---|---|---|
| committer | Jochen Dolze <vdr@dolze.de> | 2009-10-02 17:36:58 +0200 |
| commit | 52cd041405849817c72d272bee0e6798f57b66c4 (patch) | |
| tree | 994709d9e41ae0a367ba4b0bf5254911a4f38558 /vdr2pkt.h | |
| parent | a21c3bf58621446068b054326eec83dae1e744a0 (diff) | |
| download | vdr-plugin-markad-52cd041405849817c72d272bee0e6798f57b66c4.tar.gz vdr-plugin-markad-52cd041405849817c72d272bee0e6798f57b66c4.tar.bz2 | |
Rewrote packet handling code, now it uses queues
Diffstat (limited to 'vdr2pkt.h')
| -rw-r--r-- | vdr2pkt.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/vdr2pkt.h b/vdr2pkt.h new file mode 100644 index 0000000..1820fbf --- /dev/null +++ b/vdr2pkt.h @@ -0,0 +1,29 @@ +/* + * vdr2pkt.h: A plugin for the Video Disk Recorder + * + * See the README file for copyright information and how to reach the author. + * + * $Id$ + */ + +#ifndef __vdr2pkt_h_ +#define __vdr2pkt_h_ + +#ifndef uchar +typedef unsigned char uchar; +#endif + +#include "global.h" +#include "tools.h" + +class cMarkAdVDR2Pkt +{ +private: + cMarkAdPaketQueue *queue; +public: + cMarkAdVDR2Pkt(int RecvNumber, const char *QueueName="VDR2PKT", int QueueSize=32768); + ~cMarkAdVDR2Pkt(); + void Process(MarkAdPid Pid,uchar *VDRData, int VDRSize, uchar **PktData, int *PktSize); +}; + +#endif |
