libdvbpsi
0.2.2
Main Page
Related Pages
Data Structures
Files
File List
Globals
src
descriptors
dr_48.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* dr_48.h
3
* Copyright (C) 2001-2010 VideoLAN
4
* $Id: dr_48.h,v 1.2 2002/12/12 10:19:32 jobi Exp $
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_48_H_
37
#define _DVBPSI_DR_48_H_
38
39
#ifdef __cplusplus
40
extern
"C"
{
41
#endif
42
43
44
/*****************************************************************************
45
* dvbpsi_service_dr_t
46
*****************************************************************************/
58
typedef
struct
dvbpsi_service_dr_s
59
{
60
uint8_t
i_service_type
;
61
uint8_t
i_service_provider_name_length
;
63
uint8_t
i_service_provider_name
[252];
64
uint8_t
i_service_name_length
;
66
uint8_t
i_service_name
[252];
68
}
dvbpsi_service_dr_t
;
69
70
71
/*****************************************************************************
72
* dvbpsi_DecodeServiceDataDr
73
*****************************************************************************/
82
dvbpsi_service_dr_t
*
dvbpsi_DecodeServiceDr
(
83
dvbpsi_descriptor_t
* p_descriptor);
84
85
86
/*****************************************************************************
87
* dvbpsi_GenServiceDataDr
88
*****************************************************************************/
99
dvbpsi_descriptor_t
*
dvbpsi_GenServiceDr
(
100
dvbpsi_service_dr_t
* p_decoded,
101
int
b_duplicate);
102
103
104
#ifdef __cplusplus
105
};
106
#endif
107
108
#else
109
#error "Multiple inclusions of dr_48.h"
110
#endif
111
Generated on Sat Sep 8 2012 01:15:37 for libdvbpsi by
1.8.1.1