51 #define AP_CA_PRINT(x) STB_SPDebugWrite x 53 #define AP_CA_PRINT(x) 86 BOOLEAN retval = FALSE;
93 #ifdef COMMON_INTERFACE 94 AP_CA_PRINT((
"%s(path=%u): CI slot=%u, CA=%u(0x%lx)", __FUNCTION__, path,
97 AP_CA_PRINT((
"%s(path=%u): CA=%u(0x%lx)", __FUNCTION__, path, has_ca, ca_handle));
103 #ifdef COMMON_INTERFACE
109 if (pmt_data != NULL)
127 AP_CA_PRINT((
"%s(path=%u): couldn't acquire a CA slot", __FUNCTION__, path));
134 AP_CA_PRINT((
"%s(path=%u): no pmt data available on service %p", __FUNCTION__, path, s_ptr));
U8BIT STB_DPGetPathCISlot(U8BIT path)
Returns the CI slot id associated with the given path.
BOOLEAN STB_DPAcquireCADescramblerForPath(U8BIT path, U8BIT *pmt_data, U32BIT *ca_handle)
Acquire a CA descrambler and assign it to the given path.
BOOLEAN ACA_AcquireCADescrambler(U8BIT path, void *s_ptr)
Acquires a CA descrambler for the given path on the given service if needed. No CA descrambler is acq...
Header file - macros and function prototypes for public use.
U8BIT ADB_GetServiceRunningStatus(void *s_ptr)
Returns the running status of the given service as reported by the SDT.
U8BIT * ADB_GetServicePMTData(void *s_ptr, U16BIT *data_len)
Returns the current PMT data for the given service.
Header file - macros and function prototypes for public use.
Debug functions header file.
Header file - macros and function prototypes for public use.
void STB_CANotifyRunningStatus(U32BIT handle, U8BIT status)
This function will be called when there's a change to the running status of a service being descrambl...
Glue layer between DVB and conditional access systems.
System Wide Global Technical Data Type Definitions.
BOOLEAN STB_DPGetPathCADescrambler(U8BIT path, U32BIT *handle)
Get the handle of the CA descrambler associated with the given path.
void STB_CAReportPMT(U32BIT handle, U8BIT *pmt_data, U16BIT data_len)
When there's an update to the PMT for a service, the updated PMT will be reported to the CA system us...
Application database access functions.
Header file - macros and function prototypes for public use.