libdvbpsi  1.2.0
dr_4a.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * dr_4a.h
3  * Copyright (C) 2012 VideoLAN
4  *
5  * Authors: Corno Roberto <corno.roberto@gmail.com>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  *
21  *****************************************************************************/
22 
34 #ifndef DR_4A_H_
35 #define DR_4A_H_
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 /*****************************************************************************
42  * dvbpsi_linkage_dr_t
43  *****************************************************************************/
59 typedef struct dvbpsi_linkage_dr_s
60 {
63  uint16_t i_service_id;
64  uint8_t i_linkage_type;
66  /* used if i_linkage_type ==0x08 */
67  uint8_t i_handover_type;
68  uint8_t i_origin_type;
69  /* used if i_linkage_type ==0x08 &&
70  * (i_handover_type ==0x01 || i_handover_type ==0x02|| i_handover_type ==0x03)
71  */
72  uint16_t i_network_id;
73  /* used if i_linkage_type ==0x08 && i_origin_type ==0 */
76  /* used if i_linkage_type ==0x0D */
77  uint16_t i_target_event_id;
83  uint8_t i_private_data[248];
86 
87 /*****************************************************************************
88  * dvbpsi_DecodeLinkageDr
89  *****************************************************************************/
99 
100 /*****************************************************************************
101  * dvbpsi_GenLinkageDr
102  *****************************************************************************/
113  bool b_duplicate);
114 
115 #ifdef __cplusplus
116 };
117 #endif
118 
119 #else
120 #error "Multiple inclusions of dr_4a.h"
121 #endif /* DR_4A_H_ */