descriptor.h   descriptor.h 
/************************************************************************** *** /************************************************************************** ***
* descriptor.h * descriptor.h
* (c)2001-2002 VideoLAN * (c)2001-2002 VideoLAN
* $Id: descriptor.h,v 1.4 2002/03/27 20:02:43 bozo Exp $ * $Id: descriptor.h,v 1.5 2002/05/08 13:00:40 bozo Exp $
* *
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2 * as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version. * of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 63 skipping to change at line 63
typedef struct dvbpsi_descriptor_s typedef struct dvbpsi_descriptor_s
{ {
uint8_t i_tag; /*!< descriptor_tag */ uint8_t i_tag; /*!< descriptor_tag */
uint8_t i_length; /*!< descriptor_length */ uint8_t i_length; /*!< descriptor_length */
uint8_t * p_data; /*!< content */ uint8_t * p_data; /*!< content */
struct dvbpsi_descriptor_s * p_next; /*!< next element of struct dvbpsi_descriptor_s * p_next; /*!< next element of
the list */ the list */
void * p_decoded; /*!< decoded descriptor */
} dvbpsi_descriptor_t; } dvbpsi_descriptor_t;
/************************************************************************** *** /************************************************************************** ***
* dvbpsi_NewDescriptor * dvbpsi_NewDescriptor
************************************************************************** ***/ ************************************************************************** ***/
/*! /*!
* \fn dvbpsi_descriptor_t* dvbpsi_NewDescriptor(uint8_t i_tag, * \fn dvbpsi_descriptor_t* dvbpsi_NewDescriptor(uint8_t i_tag,
uint8_t i_length, uint8_t i_length,
uint8_t* p_data) uint8_t* p_data)
* \brief Creation of a new dvbpsi_descriptor_t structure. * \brief Creation of a new dvbpsi_descriptor_t structure.
* \param i_tag descriptor's tag * \param i_tag descriptor's tag
* \param i_length descriptor's length * \param i_length descriptor's length
* \param p_data descriptor's data * \param p_data descriptor's data
* \return a pointer to the descriptor. * \return a pointer to the descriptor.
*/ */
dvbpsi_descriptor_t* dvbpsi_NewDescriptor(uint8_t i_tag, uint8_t i_length, dvbpsi_descriptor_t* dvbpsi_NewDescriptor(uint8_t i_tag, uint8_t i_length,
uint8_t* p_data); uint8_t* p_data);
/************************************************************************** *** /************************************************************************** ***
* dvbpsi_DeleteDescriptor * dvbpsi_DeleteDescriptors
************************************************************************** ***/ ************************************************************************** ***/
/*! /*!
* \fn void dvbpsi_DeleteDescriptor(dvbpsi_descriptor_t* p_descriptor) * \fn void dvbpsi_DeleteDescriptors(dvbpsi_descriptor_t* p_descriptor)
* \brief Destruction of a dvbpsi_descriptor_t structure. * \brief Destruction of a dvbpsi_descriptor_t structure.
* \param p_descriptor pointer to the descriptor * \param p_descriptor pointer to the first descriptor structure
* \return nothing. * \return nothing.
*/ */
void dvbpsi_DeleteDescriptor(dvbpsi_descriptor_t* p_descriptor); void dvbpsi_DeleteDescriptors(dvbpsi_descriptor_t* p_descriptor);
#ifdef __cplusplus #ifdef __cplusplus
}; };
#endif #endif
#else #else
#error "Multiple inclusions of descriptor.h" #error "Multiple inclusions of descriptor.h"
#endif #endif
 End of changes. 6 change blocks. 
5 lines changed or deleted 7 lines changed or added


 pat.h   pat.h 
/************************************************************************** *** /************************************************************************** ***
* pat.h * pat.h
* (c)2001-2002 VideoLAN * (c)2001-2002 VideoLAN
* $Id: pat.h,v 1.4 2002/03/27 20:02:43 bozo Exp $ * $Id: pat.h,v 1.5 2002/05/08 13:00:40 bozo Exp $
* *
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2 * as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version. * of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 29 skipping to change at line 29
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U SA.
* *
************************************************************************** ***/ ************************************************************************** ***/
/*! /*!
* \file <pat.h> * \file <pat.h>
* \author Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * \author Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* \brief Application interface for the PAT decoder and the PAT generator. * \brief Application interface for the PAT decoder and the PAT generator.
* *
* Application interface for the PAT decoder decoder and the PAT generator. * Application interface for the PAT decoder and the PAT generator. New
* New decoded PAT tables are sent by callback to the application. If a tab * decoded PAT tables are sent by callback to the application. If a table
le
* wasn't active (b_current_next == 0) and the next is the same but active * wasn't active (b_current_next == 0) and the next is the same but active
* (b_current_next == 1) then the program list is empty and should be * (b_current_next == 1) then the program list is empty and should be
* caught from the previous structure. * caught from the previous structure.
*/ */
#ifndef _DVBPSI_PAT_H_ #ifndef _DVBPSI_PAT_H_
#define _DVBPSI_PAT_H_ #define _DVBPSI_PAT_H_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
 End of changes. 2 change blocks. 
4 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/