36 #ifndef _DVBPSI_NIT_H_
37 #define _DVBPSI_NIT_H_
138 uint16_t i_extension);
156 uint16_t i_network_id, uint8_t i_version,
bool b_current_next);
171 uint16_t i_network_id, uint8_t i_version,
172 bool b_current_next);
209 uint8_t i_tag, uint8_t i_length,
225 uint16_t
i_ts_id, uint16_t i_orig_network_id);
243 uint8_t i_tag, uint8_t i_length,
268 #error "Multiple inclusions of nit.h"
struct dvbpsi_nit_s dvbpsi_nit_t
dvbpsi_nit_t type definition.
void dvbpsi_nit_delete(dvbpsi_nit_t *p_nit)
Clean and free a dvbpsi_nit_t structure.
void dvbpsi_nit_init(dvbpsi_nit_t *p_nit, uint8_t i_table_id, uint16_t i_extension, uint16_t i_network_id, uint8_t i_version, bool b_current_next)
Initialize a user-allocated dvbpsi_nit_t structure.
dvbpsi_nit_ts_t * dvbpsi_nit_ts_add(dvbpsi_nit_t *p_nit, uint16_t i_ts_id, uint16_t i_orig_network_id)
Add an TS in the NIT.
dvbpsi_descriptor_t * dvbpsi_nit_descriptor_add(dvbpsi_nit_t *p_nit, uint8_t i_tag, uint8_t i_length, uint8_t *p_data)
Add a descriptor in the NIT.
void dvbpsi_nit_detach(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension)
Destroy a NIT decoder.
struct dvbpsi_nit_ts_s dvbpsi_nit_ts_t
dvbpsi_nit_ts_t type definition.
void dvbpsi_nit_empty(dvbpsi_nit_t *p_nit)
Clean a dvbpsi_nit_t structure.
void(* dvbpsi_nit_callback)(void *p_priv, dvbpsi_nit_t *p_new_nit)
Callback type definition.
Definition: nit.h:106
dvbpsi_descriptor_t * dvbpsi_nit_ts_descriptor_add(dvbpsi_nit_ts_t *p_ts, uint8_t i_tag, uint8_t i_length, uint8_t *p_data)
Add a descriptor in the NIT TS.
bool dvbpsi_nit_attach(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension, dvbpsi_nit_callback pf_callback, void *p_priv)
Creation and initialization of a NIT decoder. It is attached to p_dvbpsi.
dvbpsi_nit_t * dvbpsi_nit_new(uint8_t i_table_id, uint16_t i_extension, uint16_t i_network_id, uint8_t i_version, bool b_current_next)
Allocate and initialize a new dvbpsi_nit_t structure.
uint16_t i_ts_id
Definition: sis.h:4
Descriptor structure.
Definition: descriptor.h:83
NIT structure.
Definition: nit.h:84
uint8_t i_table_id
Definition: nit.h:85
uint16_t i_network_id
Definition: nit.h:88
uint16_t i_extension
Definition: nit.h:86
dvbpsi_nit_ts_t * p_first_ts
Definition: nit.h:94
bool b_current_next
Definition: nit.h:90
dvbpsi_descriptor_t * p_first_descriptor
Definition: nit.h:92
uint8_t i_version
Definition: nit.h:89
NIT TS structure.
Definition: nit.h:58
uint16_t i_orig_network_id
Definition: nit.h:60
struct dvbpsi_nit_ts_s * p_next
Definition: nit.h:64
dvbpsi_descriptor_t * p_first_descriptor
Definition: nit.h:62
uint16_t i_ts_id
Definition: nit.h:59
PSI section structure.
Definition: psi.h:69
DVBPSI handle structure.
Definition: dvbpsi.h:143