tot_private.h   tot_private.h 
/************************************************************************** *** /************************************************************************** ***
* tot_private.h: private TDT/TOT structures * tot_private.h: private TDT/TOT structures
*------------------------------------------------------------------------- --- *------------------------------------------------------------------------- ---
* Copyright (C) 2001-2011 VideoLAN * Copyright (C) 2001-2011 VideoLAN
* $Id$ * $Id$
* *
* Authors: Johann Hanne * Authors: Johann Hanne
* heavily based on pmt.c which was written by * heavily based on pmt.c which was written by
* Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* Jean-Paul Saman <jpsaman@videolan.org>
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library 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
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
skipping to change at line 39 skipping to change at line 40
#ifndef _DVBPSI_TOT_PRIVATE_H_ #ifndef _DVBPSI_TOT_PRIVATE_H_
#define _DVBPSI_TOT_PRIVATE_H_ #define _DVBPSI_TOT_PRIVATE_H_
/************************************************************************** *** /************************************************************************** ***
* dvbpsi_tot_decoder_t * dvbpsi_tot_decoder_t
************************************************************************** *** ************************************************************************** ***
* TDT/TOT decoder. * TDT/TOT decoder.
************************************************************************** ***/ ************************************************************************** ***/
typedef struct dvbpsi_tot_decoder_s typedef struct dvbpsi_tot_decoder_s
{ {
dvbpsi_tot_callback pf_callback; DVBPSI_DECODER_COMMON
void * p_cb_data;
dvbpsi_tot_callback pf_tot_callback;
void * p_cb_data;
/* */
dvbpsi_tot_t current_tot;
dvbpsi_tot_t *p_building_tot;
} dvbpsi_tot_decoder_t; } dvbpsi_tot_decoder_t;
/************************************************************************** *** /************************************************************************** ***
* dvbpsi_GatherTOTSections * dvbpsi_tot_sections_gather
************************************************************************** *** ************************************************************************** ***
* Callback for the PSI decoder. * Callback for the PSI decoder.
************************************************************************** ***/ ************************************************************************** ***/
__attribute__((deprecated)) void dvbpsi_tot_sections_gather(dvbpsi_t* p_dvbpsi,
void dvbpsi_GatherTOTSections(dvbpsi_decoder_t* p_decoder, dvbpsi_decoder_t* p_decoder,
void * p_private_decoder,
dvbpsi_psi_section_t* p_section); dvbpsi_psi_section_t* p_section);
/************************************************************************** *** /************************************************************************** ***
* dvbpsi_ValidTOTSection * dvbpsi_tot_sections_decode
************************************************************************** *** ************************************************************************** ***
* Check the CRC_32 if the section has b_syntax_indicator set. * TDT/TOT decoder.
************************************************************************** ***/ ************************************************************************** ***/
__attribute__((deprecated)) void dvbpsi_tot_sections_decode(dvbpsi_t* p_dvbpsi, dvbpsi_tot_t* p_tot,
int dvbpsi_ValidTOTSection(dvbpsi_psi_section_t* p_section); dvbpsi_psi_section_t* p_section);
/************************************************************************** *** /************************************************************************** ***
* dvbpsi_DecodeTOTSections * Deprecated API's
**************************************************************************
***
* TDT/TOT decoder.
************************************************************************** ***/ ************************************************************************** ***/
__attribute__((deprecated)) __attribute__((deprecated))
void dvbpsi_DecodeTOTSections(dvbpsi_tot_t* p_tot, void dvbpsi_GatherTOTSections(dvbpsi_handle* p_dvbpsi,
dvbpsi_decoder_t* p_decoder,
dvbpsi_psi_section_t* p_section);
__attribute__((deprecated))
void dvbpsi_DecodeTOTSections(dvbpsi_handle* p_dvbpsi, dvbpsi_tot_t* p_tot,
dvbpsi_psi_section_t* p_section); dvbpsi_psi_section_t* p_section);
#else #else
#error "Multiple inclusions of tot_private.h" #error "Multiple inclusions of tot_private.h"
#endif #endif
 End of changes. 9 change blocks. 
15 lines changed or deleted 22 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/