descriptor.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * descriptor.h
00003  * (c)2001-2002 VideoLAN
00004  * $Id: descriptor.h 88 2004-02-24 14:31:18Z sam $
00005  *
00006  * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License
00010  * as published by the Free Software Foundation; either version 2
00011  * of the License, or (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00021  *
00022  *****************************************************************************/
00023 
00032 #ifndef _DVBPSI_DESCRIPTOR_H_
00033 #define _DVBPSI_DESCRIPTOR_H_
00034 
00035 #ifdef __cplusplus
00036 extern "C" {
00037 #endif
00038 
00039 
00040 /*****************************************************************************
00041  * dvbpsi_descriptor_t
00042  *****************************************************************************/
00054 typedef struct dvbpsi_descriptor_s
00055 {
00056   uint8_t                       i_tag;          
00057   uint8_t                       i_length;       
00059   uint8_t *                     p_data;         
00061   struct dvbpsi_descriptor_s *  p_next;         
00064   void *                        p_decoded;      
00066 } dvbpsi_descriptor_t;
00067 
00068 
00069 /*****************************************************************************
00070  * dvbpsi_NewDescriptor
00071  *****************************************************************************/
00082 dvbpsi_descriptor_t* dvbpsi_NewDescriptor(uint8_t i_tag, uint8_t i_length,
00083                                           uint8_t* p_data);
00084 
00085 
00086 /*****************************************************************************
00087  * dvbpsi_DeleteDescriptors
00088  *****************************************************************************/
00095 void dvbpsi_DeleteDescriptors(dvbpsi_descriptor_t* p_descriptor);
00096 
00097 
00098 #ifdef __cplusplus
00099 };
00100 #endif
00101 
00102 #else
00103 #error "Multiple inclusions of descriptor.h"
00104 #endif
00105 

Generated on Tue Sep 9 02:27:55 2008 for libdvbpsi by  doxygen 1.4.7