libdvbpsi  0.2.2
dr_58.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * dr_58.h
3  * Copyright (C) 2001-2010 VideoLAN
4  * $Id$
5  *
6  * Authors: Johann Hanne
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 
35 #ifndef _DVBPSI_DR_58_H_
36 #define _DVBPSI_DR_58_H_
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 
43 /*****************************************************************************
44  * dvbpsi_local_time_offset_t
45  *****************************************************************************/
58 {
59  uint8_t i_country_code[3];
63  uint64_t i_time_of_change;
64  uint16_t i_next_time_offset;
67 
68 
69 /*****************************************************************************
70  * dvbpsi_local_time_offset_dr_t
71  *****************************************************************************/
84 {
85  uint8_t i_local_time_offsets_number;
86  dvbpsi_local_time_offset_t p_local_time_offset[19];
87 
89 
90 
91 /*****************************************************************************
92  * dvbpsi_DecodeLocalTimeOffsetDr
93  *****************************************************************************/
103  dvbpsi_descriptor_t * p_descriptor);
104 
105 
106 /*****************************************************************************
107  * dvbpsi_GenLocalTimeOffsetDr
108  *****************************************************************************/
119 dvbpsi_descriptor_t * dvbpsi_GenLocalTimeOffsetDr(
120  dvbpsi_local_time_offset_dr_t * p_decoded,
121  int b_duplicate);
122 
123 
124 #ifdef __cplusplus
125 };
126 #endif
127 
128 #else
129 #error "Multiple inclusions of dr_58.h"
130 #endif