libdvbpsi  2.0.0-git
dr_83.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2006 Adam Charrett
3 
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8 
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13 
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 
18 dr_83.h
19 
20 Decode Logical Channel Number Descriptor.
21 
22 */
23 
30 #ifndef _DR_83_H
31 #define _DR_83_H
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 /*****************************************************************************
38  * dvbpsi_lcn_entry_t
39  *****************************************************************************/
50 typedef struct dvbpsi_lcn_entry_s
51 {
52  uint16_t i_service_id;
56 
57 /*****************************************************************************
58  * dvbpsi_lcn_dr_s
59  *****************************************************************************/
70 typedef struct dvbpsi_lcn_dr_s
71 {
75 
76 /*****************************************************************************
77  * dvbpsi_DecodeLCNDr
78  *****************************************************************************/
87 
88 /*****************************************************************************
89  * dvbpsi_GenLCNDr
90  *****************************************************************************/
101 dvbpsi_descriptor_t* dvbpsi_GenLCNDr(dvbpsi_lcn_dr_t* p_decoded, bool b_duplicate);
102 
103 #ifdef __cplusplus
104 };
105 #endif
106 
107 #endif // _DR_83_H
108 
int b_visible_service_flag
Definition: dr_83.h:53
struct dvbpsi_lcn_dr_s dvbpsi_lcn_dr_t
dvbpsi_lcn_dr_t type definition.
Logical Channel Number Entry.
Definition: dr_83.h:50
Logical Channel Number Descriptor.
Definition: dr_83.h:70
uint16_t i_service_id
Definition: dr_83.h:52
dvbpsi_lcn_dr_t * dvbpsi_DecodeLCNDr(dvbpsi_descriptor_t *p_descriptor)
Decode a Logical Channel Number descriptor (tag 0x83)
uint8_t i_number_of_entries
Definition: dr_83.h:72
dvbpsi_descriptor_t * dvbpsi_GenLCNDr(dvbpsi_lcn_dr_t *p_decoded, bool b_duplicate)
"logical_channel" descriptor generator.
uint16_t i_logical_channel_number
Definition: dr_83.h:54
struct dvbpsi_lcn_entry_s dvbpsi_lcn_entry_t
dvbpsi_lcn_entry_t type definition.
dvbpsi_lcn_entry_t p_entries[64]
Definition: dr_83.h:73
Descriptor structure.
Definition: descriptor.h:82