DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
dsm_si.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
24 #ifndef _DSM_SI_H
25 #define _DSM_SI_H
26 
27 typedef struct s_DsiInstance *H_DsiInstance;
28 
35 H_DsiInstance DSI_CreateInstance(H_DsmControl dsmctrl, F_FILTER_CALLBACK cbfunc, S_DsmccConfig *config);
36 
42 void DSI_DestroyInstance( H_DsiInstance dsi );
43 
50 BOOLEAN DSI_Start( H_DsiInstance dsi, U16BIT transId, DMXREF dmxref );
51 
57 void DSI_Stop( H_DsiInstance dsi );
58 
70 U32BIT DSI_RequestTable( H_DsiInstance dsi, U16BIT pid, U16BIT xid, U8BIT tid );
71 
78 void DSI_CancelTable( H_DsiInstance dsi, U32BIT rid );
79 
86 U32BIT DSI_CheckRequests( H_DsiInstance dsi, U32BIT now );
87 
96 BOOLEAN DSI_RequireTable( H_DsiInstance dsi, U8BIT *data, U16BIT *pXid, U8BIT *pVer );
97 
98 #endif /*_DSM_SI_H*/
H_DsiInstance DSI_CreateInstance(H_DsmControl dsmctrl, F_FILTER_CALLBACK cbfunc, S_DsmccConfig *config)
Create instance of DSI.
Definition: dsm_si.c:197
U32BIT DSI_RequestTable(H_DsiInstance dsi, U16BIT pid, U16BIT xid, U8BIT tid)
Request Table data. It supplies Table soon after the call to this function, and then, whenever the Table version changes. This state continues until DSI_CancelTable is called.
Definition: dsm_si.c:284
BOOLEAN DSI_Start(H_DsiInstance dsi, U16BIT transId, DMXREF dmxref)
Start getting SI data from Demux.
Definition: dsm_si.c:242
U32BIT DSI_CheckRequests(H_DsiInstance dsi, U32BIT now)
Check outstanding PMT (and PAT) requests to see whether any need to be refreshed. ...
Definition: dsm_si.c:373
void DSI_Stop(H_DsiInstance dsi)
Stop getting SI data from Demux.
Definition: dsm_si.c:253
BOOLEAN DSI_RequireTable(H_DsiInstance dsi, U8BIT *data, U16BIT *pXid, U8BIT *pVer)
Check whether SI table section data is required.
Definition: dsm_si.c:439
void DSI_CancelTable(H_DsiInstance dsi, U32BIT rid)
Cancel request for table data made by DSI_RequestTable()
Definition: dsm_si.c:337
void DSI_DestroyInstance(H_DsiInstance dsi)
Destroy instance created by SIQ_CreateInstance.
Definition: dsm_si.c:229