From 566c6fa4641ea116307cfb5e40d151a104ab1490 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 1 Jan 2014 12:37:22 +0100 Subject: Added receiving Ca pids to cCamSlot --- pat.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'pat.h') diff --git a/pat.h b/pat.h index 08da051f..b45e720e 100644 --- a/pat.h +++ b/pat.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: pat.h 2.3 2013/02/16 15:20:24 kls Exp $ + * $Id: pat.h 3.1 2013/12/30 11:32:40 kls Exp $ */ #ifndef __PAT_H @@ -39,7 +39,13 @@ int GetCaDescriptors(int Source, int Transponder, int ServiceId, const int *CaSy ///< 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. + +int GetCaPids(int Source, int Transponder, int ServiceId, const int *CaSystemIds, int BufSize, int *Pids); + ///< Gets all CA pids for a given channel. + ///< Copies all available CA pids from the CA descriptors for the given Source, Transponder and ServiceId + ///< into the provided buffer at Pids (at most BufSize - 1 entries, the list will be zero-terminated). + ///< Only the CA pids of those CA descriptors are copied that match one of the given CA system IDs. + ///< Returns the number of pids copied into Pids (0 if no CA descriptors are + ///< available), or -1 if BufSize was too small to hold all CA pids. #endif //__PAT_H -- cgit v1.2.3