vdr  2.0.2
Classes | Macros | Functions | Variables
pat.c File Reference
#include "pat.h"
#include <malloc.h>
#include "channels.h"
#include "libsi/section.h"
#include "libsi/descriptor.h"
#include "thread.h"
#include "vdrttxtsubshooks.h"

Go to the source code of this file.

Classes

class  cCaDescriptor
 
class  cCaDescriptors
 
class  cCaDescriptorHandler
 

Macros

#define PMT_SCAN_TIMEOUT   10
 

Functions

int GetCaDescriptors (int Source, int Transponder, int ServiceId, const int *CaSystemIds, int BufSize, uchar *Data, int EsPid)
 

Variables

cCaDescriptorHandler CaDescriptorHandler
 

Macro Definition Documentation

#define PMT_SCAN_TIMEOUT   10

Definition at line 18 of file pat.c.

Referenced by cPatFilter::Process().

Function Documentation

int GetCaDescriptors ( int  Source,
int  Transponder,
int  ServiceId,
const int *  CaSystemIds,
int  BufSize,
uchar Data,
int  EsPid 
)

Gets all CA descriptors for a given channel.

Copies all available CA descriptors for the given Source, Transponder and ServiceId into the provided buffer at Data (at most BufSize bytes). Only those CA descriptors are copied that match one of the given CA system IDs. Returns the number of bytes copied into Data (0 if no CA descriptors are available), or -1 if BufSize was too small to hold all CA descriptors. The return value tells whether these CA descriptors are to be used for the individual streams.

Definition at line 226 of file pat.c.

References cCaDescriptorHandler::GetCaDescriptors().

Referenced by cCiCaPmt::AddPid(), and cCiCaPmt::cCiCaPmt().

Variable Documentation

cCaDescriptorHandler CaDescriptorHandler

Definition at line 224 of file pat.c.