| 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 | |
|