libdvbpsi  1.2.0
dr_55.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * dr_55.h
3  * Copyright (C) 2004-2010 VideoLAN
4  * $Id: dr_55.h 88 2004-02-24 14:31:18Z sam $
5  *
6  * Authors: Christophe Massiot <massiot@via.ecp.fr>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  *****************************************************************************/
23 
33 #ifndef _DVBPSI_DR_55_H_
34 #define _DVBPSI_DR_55_H_
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 /*****************************************************************************
41  * dvbpsi_parental_rating_t
42  *****************************************************************************/
55 {
56  uint32_t i_country_code;
57  uint8_t i_rating;
60 
66 #define DVBPSI_PARENTAL_RATING_DR_MAX 64
67 
68 /*****************************************************************************
69  * dvbpsi_parental_rating_dr_t
70  *****************************************************************************/
83 {
84  uint8_t i_ratings_number;
89 
90 
91 /*****************************************************************************
92  * dvbpsi_DecodeParentalRatingDataDr
93  *****************************************************************************/
103  dvbpsi_descriptor_t * p_descriptor);
104 
105 
106 /*****************************************************************************
107  * dvbpsi_GenParentalRatingDataDr
108  *****************************************************************************/
120  dvbpsi_parental_rating_dr_t * p_decoded,
121  bool b_duplicate);
122 
123 
124 #ifdef __cplusplus
125 };
126 #endif
127 
128 #else
129 #error "Multiple inclusions of dr_55.h"
130 #endif
131