33 #ifndef _DVBPSI_PAT_H_
34 #define _DVBPSI_PAT_H_
114 bool dvbpsi_pat_attach(
dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension,
146 bool b_current_next);
192 uint16_t i_number, uint16_t i_pid);
217 #error "Multiple inclusions of pat.h"
struct dvbpsi_pat_s dvbpsi_pat_t
dvbpsi_pat_t type definition.
struct dvbpsi_pat_program_s dvbpsi_pat_program_t
dvbpsi_pat_program_t type definition.
void dvbpsi_pat_empty(dvbpsi_pat_t *p_pat)
Clean a dvbpsi_pat_t structure.
dvbpsi_pat_program_t * dvbpsi_pat_program_add(dvbpsi_pat_t *p_pat, uint16_t i_number, uint16_t i_pid)
Add a program at the end of the PAT.
void dvbpsi_pat_detach(dvbpsi_t *p_dvbpsi, uint8_t i_table_id, uint16_t i_extension)
Destroy a PAT decoder.
void dvbpsi_pat_delete(dvbpsi_pat_t *p_pat)
Clean and free a dvbpsi_pat_t structure.
dvbpsi_pat_t * dvbpsi_pat_new(uint16_t i_ts_id, uint8_t i_version, bool b_current_next)
Allocate and initialize a new dvbpsi_pat_t structure.
void dvbpsi_pat_init(dvbpsi_pat_t *p_pat, uint16_t i_ts_id, uint8_t i_version, bool b_current_next)
Initialize a user-allocated dvbpsi_pat_t structure.
void(* dvbpsi_pat_callback)(void *p_priv, dvbpsi_pat_t *p_new_pat)
Callback type definition.
Definition: pat.h:98
uint16_t i_ts_id
Definition: sis.h:4
PAT program structure.
Definition: pat.h:55
uint16_t i_number
Definition: pat.h:56
struct dvbpsi_pat_program_s * p_next
Definition: pat.h:59
uint16_t i_pid
Definition: pat.h:57
PAT structure.
Definition: pat.h:80
bool b_current_next
Definition: pat.h:83
uint16_t i_ts_id
Definition: pat.h:81
uint8_t i_version
Definition: pat.h:82
dvbpsi_pat_program_t * p_first_program
Definition: pat.h:85
PSI section structure.
Definition: psi.h:69
DVBPSI handle structure.
Definition: dvbpsi.h:143