37 #ifndef _DVBPSI_TOT_H_
38 #define _DVBPSI_TOT_H_
181 uint8_t i_tag, uint8_t i_length,
203 #error "Multiple inclusions of tot.h"
__attribute__((deprecated, unused)) bool dvbpsi_AttachDemux(dvbpsi_t *p_dvbpsi
dvbpsi_atsc_DetachEIT is deprecated use
Definition: atsc_eit.h:257
Descriptor structure.
Definition: descriptor.h:83
PSI section structure.
Definition: psi.h:69
DVBPSI handle structure.
Definition: dvbpsi.h:143
TDT/TOT structure.
Definition: tot.h:59
uint8_t i_table_id
Definition: tot.h:60
bool b_current_next
Definition: tot.h:65
dvbpsi_descriptor_t * p_first_descriptor
Definition: tot.h:69
uint8_t i_version
Definition: tot.h:64
uint16_t i_extension
Definition: tot.h:61
uint64_t i_utc_time
Definition: tot.h:67
uint8_t i_table_id
Definition: tot.h:0
uint8_t i_version
Definition: tot.h:4
void dvbpsi_tot_detach(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension)
Destroy a TDT/TOT decoder.
void dvbpsi_tot_empty(dvbpsi_tot_t *p_tot)
Clean a dvbpsi_tot_t structure.
uint64_t i_utc_time
Definition: tot.h:7
bool b_current_next
Definition: tot.h:5
dvbpsi_tot_t * dvbpsi_tot_new(uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, bool b_current_next, uint64_t i_utc_time)
Allocate and initialize a new dvbpsi_tot_t structure.
uint16_t i_extension
Definition: tot.h:1
bool dvbpsi_tot_attach(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, dvbpsi_tot_callback pf_callback, void *p_priv)
Creation and initialization of a TDT/TOT decoder.
void dvbpsi_tot_delete(dvbpsi_tot_t *p_tot)
Clean and free a dvbpsi_tot_t structure.
void(* dvbpsi_tot_callback)(void *p_priv, dvbpsi_tot_t *p_new_tot)
Callback type definition.
Definition: tot.h:81
void dvbpsi_tot_init(dvbpsi_tot_t *p_tot, uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, bool b_current_next, uint64_t i_utc_time)
Initialize a user-allocated dvbpsi_tot_t structure.
dvbpsi_descriptor_t * dvbpsi_tot_descriptor_add(dvbpsi_tot_t *p_tot, uint8_t i_tag, uint8_t i_length, uint8_t *p_data)
Add a descriptor in the TOT.