libdvbpsi  0.2.2
Data Structures | Defines | Typedefs | Functions | Variables
tot.h File Reference

Application interface for the TDT/TOT decoder and the TDT/TOT generator. More...

Go to the source code of this file.

Data Structures

struct  dvbpsi_tot_s
 TDT/TOT structure. More...

Defines

#define dvbpsi_NewTOT(p_tot, i_utc_time)
 Allocate and initialize a new dvbpsi_tot_t structure.
#define dvbpsi_DeleteTOT(p_tot)
 Clean and free a dvbpsi_tot_t structure.

Typedefs

typedef struct dvbpsi_tot_s dvbpsi_tot_t
 dvbpsi_tot_t type definition.
typedef void(* dvbpsi_tot_callback )(void *p_cb_data, dvbpsi_tot_t *p_new_tot)
 Callback type definition.

Functions

 __attribute__ ((deprecated)) int dvbpsi_AttachTOT(dvbpsi_decoder_t *p_psi_decoder

Variables

uint8_t i_table_id
uint8_t uint16_t i_extension
uint8_t uint16_t
dvbpsi_tot_callback 
pf_callback
uint8_t uint16_t
dvbpsi_tot_callback void * 
p_cb_data
uint64_t i_utc_time
uint8_t i_tag
uint8_t uint8_t i_length
uint8_t uint8_t uint8_t * p_data

Detailed Description

Application interface for the TDT/TOT decoder and the TDT/TOT generator.

>

Author:
Johann Hanne Application interface for the TDT/TOT decoder and the TDT/TOT generator. New decoded TDT/TOT tables are sent by callback to the application.

Define Documentation

#define dvbpsi_DeleteTOT (   p_tot)
Value:
do {                                                                    \
  dvbpsi_EmptyTOT(p_tot);                                               \
  free(p_tot);                                                          \
} while(0);

Clean and free a dvbpsi_tot_t structure.

Parameters:
p_totpointer to the TDT/TOT structure
Returns:
nothing.
#define dvbpsi_NewTOT (   p_tot,
  i_utc_time 
)
Value:
do {                                                                    \
  p_tot = (dvbpsi_tot_t*)malloc(sizeof(dvbpsi_tot_t));                  \
  if(p_tot != NULL)                                                     \
    dvbpsi_InitTOT(p_tot, i_utc_time);                                  \
} while(0);

Allocate and initialize a new dvbpsi_tot_t structure.

Parameters:
p_totpointer to the TDT/TOT structure
i_utc_timethe time in UTC
Returns:
nothing.