libdvbpsi  1.2.0
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 
73 #define DVBPSI_LOCAL_TIME_OFFSET_DR_MAX 19
74 
75 /*****************************************************************************
76  * dvbpsi_local_time_offset_dr_t
77  *****************************************************************************/
90 {
96 
97 /*****************************************************************************
98  * dvbpsi_DecodeLocalTimeOffsetDr
99  *****************************************************************************/
109  dvbpsi_descriptor_t * p_descriptor);
110 
111 
112 /*****************************************************************************
113  * dvbpsi_GenLocalTimeOffsetDr
114  *****************************************************************************/
126  dvbpsi_local_time_offset_dr_t * p_decoded,
127  bool b_duplicate);
128 
129 
130 #ifdef __cplusplus
131 };
132 #endif
133 
134 #else
135 #error "Multiple inclusions of dr_58.h"
136 #endif