34 #ifndef _DVBPSI_SDT_H_
35 #define _DVBPSI_SDT_H_
128 bool dvbpsi_sdt_attach(
dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension,
161 uint8_t i_version,
bool b_current_next, uint16_t i_network_id);
175 bool b_current_next, uint16_t i_network_id);
216 uint16_t i_service_id,
bool b_eit_schedule,
bool b_eit_present,
217 uint8_t i_running_status,
bool b_free_ca);
236 uint8_t i_tag, uint8_t i_length,
261 #error "Multiple inclusions of sdt.h"
void dvbpsi_sdt_detach(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension)
Destroy a SDT decoder.
dvbpsi_psi_section_t * dvbpsi_sdt_sections_generate(dvbpsi_t *p_dvbpsi, dvbpsi_sdt_t *p_sdt)
SDT generator.
struct dvbpsi_sdt_s dvbpsi_sdt_t
dvbpsi_sdt_t type definition.
dvbpsi_sdt_t * dvbpsi_sdt_new(uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, bool b_current_next, uint16_t i_network_id)
Allocate and initialize a new dvbpsi_sdt_t structure.
void dvbpsi_sdt_delete(dvbpsi_sdt_t *p_sdt)
Clean and free a dvbpsi_sdt_t structure.
dvbpsi_descriptor_t * dvbpsi_sdt_service_descriptor_add(dvbpsi_sdt_service_t *p_service, uint8_t i_tag, uint8_t i_length, uint8_t *p_data)
Add a descriptor in the SDT service.
struct dvbpsi_sdt_service_s dvbpsi_sdt_service_t
dvbpsi_sdt_service_t type definition.
dvbpsi_sdt_service_t * dvbpsi_sdt_service_add(dvbpsi_sdt_t *p_sdt, uint16_t i_service_id, bool b_eit_schedule, bool b_eit_present, uint8_t i_running_status, bool b_free_ca)
Add a service at the end of the SDT.
void dvbpsi_sdt_empty(dvbpsi_sdt_t *p_sdt)
Clean a dvbpsi_sdt_t structure.
void dvbpsi_sdt_init(dvbpsi_sdt_t *p_sdt, uint8_t i_table_id, uint16_t i_extension, uint8_t i_version, bool b_current_next, uint16_t i_network_id)
Initialize a user-allocated dvbpsi_sdt_t structure.
void(* dvbpsi_sdt_callback)(void *p_priv, dvbpsi_sdt_t *p_new_sdt)
Callback type definition.
Definition: sdt.h:111
Descriptor structure.
Definition: descriptor.h:83
PSI section structure.
Definition: psi.h:69
DVBPSI handle structure.
Definition: dvbpsi.h:143
SDT structure.
Definition: sdt.h:88
bool b_current_next
Definition: sdt.h:95
uint8_t i_version
Definition: sdt.h:94
uint16_t i_extension
Definition: sdt.h:91
uint16_t i_network_id
Definition: sdt.h:96
dvbpsi_sdt_service_t * p_first_service
Definition: sdt.h:98
uint8_t i_table_id
Definition: sdt.h:90
SDT service description structure.
Definition: sdt.h:56
uint16_t i_descriptors_length
Definition: sdt.h:63
bool b_free_ca
Definition: sdt.h:62
uint8_t i_running_status
Definition: sdt.h:61
uint16_t i_service_id
Definition: sdt.h:57
struct dvbpsi_sdt_service_s * p_next
Definition: sdt.h:68
bool b_eit_schedule
Definition: sdt.h:58
bool b_eit_present
Definition: sdt.h:59
dvbpsi_descriptor_t * p_first_descriptor
Definition: sdt.h:65