libdvbpsi
0.2.2
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
dr_69.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_69.h
3
* Copyright (C) 2007-2010 VideoLAN
4
* $Id$
5
*
6
* Authors: Pinkava Jiri <master_up@post.cz>
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
34
#ifndef _DVBPSI_DR_69_H_
35
#define _DVBPSI_DR_69_H_
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
41
42
/*****************************************************************************
43
* dvbpsi_PDC_dr_t
44
*****************************************************************************/
56
typedef
struct
dvbpsi_PDC_dr_s
57
{
58
/* pdc[0] ~= day; PDC[1] ~= month; PDC[2] ~= hour; PDC[3] ~= min; */
59
uint8_t
i_PDC
[4];
60
}
dvbpsi_PDC_dr_t
;
61
62
63
/*****************************************************************************
64
* dvbpsi_DecodePDCDr
65
*****************************************************************************/
74
dvbpsi_PDC_dr_t
*
dvbpsi_DecodePDCDr
(
dvbpsi_descriptor_t
* p_descriptor);
75
76
77
/*****************************************************************************
78
* dvbpsi_GenPDCDr
79
*****************************************************************************/
89
dvbpsi_descriptor_t
* dvbpsi_GenPDCDr(
dvbpsi_PDC_dr_t
* p_decoded,
90
int
b_duplicate);
91
92
93
#ifdef __cplusplus
94
};
95
#endif
96
97
#else
98
#error "Multiple inclusions of dr_69.h"
99
#endif
100
Generated on Thu Jun 20 2013 12:39:38 for libdvbpsi by
1.8.3.1