summaryrefslogtreecommitdiff
path: root/pat.h
diff options
context:
space:
mode:
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