libdvbpsi  2.0.0-git
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
#define DVBPSI_LOCAL_TIME_OFFSET_DR_MAX
Maximum number of dvbpsi_local_time_offset_t entries present in.
Definition: dr_58.h:73
struct dvbpsi_local_time_offset_s dvbpsi_local_time_offset_t
dvbpsi_local_time_offset_t type definition.
uint8_t i_local_time_offsets_number
Definition: dr_58.h:91
dvbpsi_local_time_offset_dr_t * dvbpsi_DecodeLocalTimeOffsetDr(dvbpsi_descriptor_t *p_descriptor)
"local time offset" descriptor decoder.
uint8_t i_local_time_offset_polarity
Definition: dr_58.h:61
uint8_t i_country_region_id
Definition: dr_58.h:60
uint64_t i_time_of_change
Definition: dr_58.h:63
dvbpsi_local_time_offset_t p_local_time_offset[DVBPSI_LOCAL_TIME_OFFSET_DR_MAX]
Definition: dr_58.h:93
struct dvbpsi_local_time_offset_dr_s dvbpsi_local_time_offset_dr_t
dvbpsi_local_time_offset_dr_t type definition.
uint16_t i_local_time_offset
Definition: dr_58.h:62
dvbpsi_descriptor_t * dvbpsi_GenLocalTimeOffsetDr(dvbpsi_local_time_offset_dr_t *p_decoded, bool b_duplicate)
"local time offset" descriptor generator.
uint8_t i_country_code[3]
Definition: dr_58.h:59
uint16_t i_next_time_offset
Definition: dr_58.h:64
Descriptor structure.
Definition: descriptor.h:82
"local time offset" descriptor structure.
Definition: dr_58.h:89
one local time offset structure.
Definition: dr_58.h:57