libdvbpsi  1.2.0
dr_42.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * dr_42.h
3  * Copyright (C) 2001-2010 VideoLAN
4  * $Id$
5  *
6  * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
7  * Johan Bilien <jobi@via.ecp.fr>
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22  *
23  *****************************************************************************/
24 
36 #ifndef _DVBPSI_DR_42_H_
37 #define _DVBPSI_DR_42_H_
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
43 
44 /*****************************************************************************
45  * dvbpsi_stuffing_dr_t
46  *****************************************************************************/
58 typedef struct dvbpsi_stuffing_dr_s
59 {
62  uint8_t i_stuffing_byte[255];
65 
66 
67 /*****************************************************************************
68  * dvbpsi_DecodeStuffingDr
69  *****************************************************************************/
79  dvbpsi_descriptor_t * p_descriptor);
80 
81 
82 /*****************************************************************************
83  * dvbpsi_GenStuffingDr
84  *****************************************************************************/
96  dvbpsi_stuffing_dr_t * p_decoded,
97  bool b_duplicate);
98 
99 
100 #ifdef __cplusplus
101 };
102 #endif
103 
104 #else
105 #error "Multiple inclusions of dr_42.h"
106 #endif
107