summaryrefslogtreecommitdiff
path: root/pat.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-01-01 12:37:22 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-01-01 12:37:22 +0100
commit566c6fa4641ea116307cfb5e40d151a104ab1490 (patch)
tree4d541f4e23394b252898ab302be48bfb59fd5463 /pat.h
parentb95b85fee4a7c26bfbc2890ac3ff00cef5fa0388 (diff)
downloadvdr-566c6fa4641ea116307cfb5e40d151a104ab1490.tar.gz
vdr-566c6fa4641ea116307cfb5e40d151a104ab1490.tar.bz2
Added receiving Ca pids to cCamSlot
Diffstat (limited to 'pat.h')
-rw-r--r--pat.h12
1 files changed, 9 insertions, 3 deletions
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