libdvbpsi  0.2.2
descriptor.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * descriptor.h
3  * Copyright (C) 2001-2010 VideoLAN
4  * $Id: descriptor.h,v 1.5 2002/05/08 13:00:40 bozo Exp $
5  *
6  * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
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 
32 #ifndef _DVBPSI_DESCRIPTOR_H_
33 #define _DVBPSI_DESCRIPTOR_H_
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 
40 /*****************************************************************************
41  * dvbpsi_descriptor_t
42  *****************************************************************************/
54 typedef struct dvbpsi_descriptor_s
55 {
56  uint8_t i_tag;
57  uint8_t i_length;
59  uint8_t * p_data;
64  void * p_decoded;
67 
68 
69 /*****************************************************************************
70  * dvbpsi_NewDescriptor
71  *****************************************************************************/
83  uint8_t* p_data);
84 
85 
86 /*****************************************************************************
87  * dvbpsi_DeleteDescriptors
88  *****************************************************************************/
96 
97 
98 #ifdef __cplusplus
99 };
100 #endif
101 
102 #else
103 #error "Multiple inclusions of descriptor.h"
104 #endif
105 
uint8_t * p_data
Definition: descriptor.h:59
struct dvbpsi_descriptor_s dvbpsi_descriptor_t
dvbpsi_descriptor_t type definition.
void * p_decoded
Definition: descriptor.h:64
struct dvbpsi_descriptor_s * p_next
Definition: descriptor.h:61
uint8_t i_tag
Definition: descriptor.h:56
void dvbpsi_DeleteDescriptors(dvbpsi_descriptor_t *p_descriptor)
Destruction of a dvbpsi_descriptor_t structure.
uint8_t i_length
Definition: descriptor.h:57
Descriptor structure.
Definition: descriptor.h:54
dvbpsi_descriptor_t * dvbpsi_NewDescriptor(uint8_t i_tag, uint8_t i_length, uint8_t *p_data)
Creation of a new dvbpsi_descriptor_t structure.