libdvbpsi  1.2.0
dr_76.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_76.h
19 
20 Decode Content Identifier Descriptor.
21 
22 */
23 
30 #ifndef _DR_76_H
31 #define _DR_76_H
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
50 #define CRID_TYPE_UNDEFINED 0
51 #define CRID_TYPE_CONTENT 1
52 #define CRID_TYPE_SERIES 2
53 #define CRID_TYPE_RECOMMENDATION 3
54 
62 #define CRID_LOCATION_DESCRIPTOR 0
63 #define CRID_LOCATION_CIT 1
64 
65 /*****************************************************************************
66  * dvbpsi_lcn_entry_t
67  *****************************************************************************/
78 typedef struct dvbpsi_crid_entry_s
79 {
80  uint8_t i_type;
81  uint8_t i_location;
82  union
83  {
84  uint8_t path[253];
85  uint16_t ref;
86  } value;
88 
94 #define DVBPSI_CRID_ENTRY_DR_MAX 85
95 
96 /*****************************************************************************
97  * dvbpsi_content_id_dr_s
98  *****************************************************************************/
110 {
114 
115 /*****************************************************************************
116  * dvbpsi_DecodeLCNDr
117  *****************************************************************************/
126 
127 #ifdef __cplusplus
128 };
129 #endif
130 
131 #endif
132 
133