diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-01-01 12:37:22 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-01-01 12:37:22 +0100 |
commit | 566c6fa4641ea116307cfb5e40d151a104ab1490 (patch) | |
tree | 4d541f4e23394b252898ab302be48bfb59fd5463 /pat.h | |
parent | b95b85fee4a7c26bfbc2890ac3ff00cef5fa0388 (diff) | |
download | vdr-566c6fa4641ea116307cfb5e40d151a104ab1490.tar.gz vdr-566c6fa4641ea116307cfb5e40d151a104ab1490.tar.bz2 |
Added receiving Ca pids to cCamSlot
Diffstat (limited to 'pat.h')
-rw-r--r-- | pat.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 |