36 #ifndef _DVBPSI_CAT_H_
37 #define _DVBPSI_CAT_H_
90 bool dvbpsi_cat_attach(
dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension,
121 uint8_t i_version,
bool b_current_next);
168 uint8_t i_tag, uint8_t i_length,
190 #error "Multiple inclusions of cat.h"
dvbpsi_cat_t * dvbpsi_cat_new(uint8_t i_version, bool b_current_next)
Allocate and initialize a new dvbpsi_cat_t structure.
struct dvbpsi_cat_s dvbpsi_cat_t
dvbpsi_cat_t type definition.
void dvbpsi_cat_delete(dvbpsi_cat_t *p_cat)
Clean and free a dvbpsi_cat_t structure.
void dvbpsi_cat_init(dvbpsi_cat_t *p_cat, uint8_t i_version, bool b_current_next)
Initialize a user-allocated dvbpsi_cat_t structure.
void dvbpsi_cat_detach(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension)
Destroy a CAT decoder.
void dvbpsi_cat_empty(dvbpsi_cat_t *p_cat)
Clean a dvbpsi_cat_t structure.
dvbpsi_descriptor_t * dvbpsi_cat_descriptor_add(dvbpsi_cat_t *p_cat, uint8_t i_tag, uint8_t i_length, uint8_t *p_data)
Add a descriptor in the CAT.
void(* dvbpsi_cat_callback)(void *p_priv, dvbpsi_cat_t *p_new_cat)
Callback type definition.
Definition: cat.h:74
CAT structure.
Definition: cat.h:58
bool b_current_next
Definition: cat.h:60
dvbpsi_descriptor_t * p_first_descriptor
Definition: cat.h:62
uint8_t i_version
Definition: cat.h:59
Descriptor structure.
Definition: descriptor.h:83
PSI section structure.
Definition: psi.h:69
DVBPSI handle structure.
Definition: dvbpsi.h:143