libdvbpsi 0.2.0
|
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 |
Application interface for the TDT/TOT decoder and the TDT/TOT generator.
>
#define dvbpsi_DeleteTOT | ( | p_tot | ) |
do { \ dvbpsi_EmptyTOT(p_tot); \ free(p_tot); \ } while(0);
Clean and free a dvbpsi_tot_t structure.
p_tot | pointer to the TDT/TOT structure |
#define dvbpsi_NewTOT | ( | p_tot, | |
i_utc_time | |||
) |
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.
p_tot | pointer to the TDT/TOT structure |
i_utc_time | the time in UTC |