libdvbpsi
0.2.2
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
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
*****************************************************************************/
57
typedef
struct
dvbpsi_local_time_offset_s
58
{
59
uint8_t
i_country_code
[3];
60
uint8_t
i_country_region_id
;
61
uint8_t
i_local_time_offset_polarity
;
62
uint16_t
i_local_time_offset
;
63
uint64_t
i_time_of_change
;
64
uint16_t
i_next_time_offset
;
66
}
dvbpsi_local_time_offset_t
;
67
68
69
/*****************************************************************************
70
* dvbpsi_local_time_offset_dr_t
71
*****************************************************************************/
83
typedef
struct
dvbpsi_local_time_offset_dr_s
84
{
85
uint8_t i_local_time_offsets_number;
86
dvbpsi_local_time_offset_t
p_local_time_offset[19];
87
88
}
dvbpsi_local_time_offset_dr_t
;
89
90
91
/*****************************************************************************
92
* dvbpsi_DecodeLocalTimeOffsetDr
93
*****************************************************************************/
102
dvbpsi_local_time_offset_dr_t
*
dvbpsi_DecodeLocalTimeOffsetDr
(
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
Generated on Sat Sep 8 2012 01:15:37 for libdvbpsi by
1.8.1.1