vdr  2.0.4
pat.h
Go to the documentation of this file.
1 /*
2  * pat.h: PAT section filter
3  *
4  * See the main source file 'vdr.c' for copyright information and
5  * how to reach the author.
6  *
7  * $Id: pat.h 2.3 2013/02/16 15:20:24 kls Exp $
8  */
9 
10 #ifndef __PAT_H
11 #define __PAT_H
12 
13 #include <stdint.h>
14 #include "filter.h"
15 
16 #define MAXPMTENTRIES 64
17 
18 class cPatFilter : public cFilter {
19 private:
20  time_t lastPmtScan;
21  int pmtIndex;
22  int pmtPid;
23  int pmtSid;
26  bool PmtVersionChanged(int PmtPid, int Sid, int Version);
27 protected:
28  virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length);
29 public:
30  cPatFilter(void);
31  virtual void SetStatus(bool On);
32  void Trigger(void);
33  };
34 
35 int GetCaDescriptors(int Source, int Transponder, int ServiceId, const int *CaSystemIds, int BufSize, uchar *Data, int EsPid);
44 
45 #endif //__PAT_H
46