55#define DVB_TABLE_PAT 0x00
56#define DVB_TABLE_PAT_PID 0x0000
84 } __attribute__((packed));
85 } __attribute__((packed));
87} __attribute__((packed));
112} __attribute__((packed));
121#define dvb_pat_program_foreach(_pgm, _pat) \
122 if (_pat && _pat->program) \
123 for (struct dvb_table_pat_program *_pgm = _pat->program; _pgm; _pgm = _pgm->next) \
ssize_t dvb_table_pat_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct dvb_table_pat **table)
Initializes and parses PAT table.
void dvb_table_pat_free(struct dvb_table_pat *table)
Frees all data allocated by the PAT table parser.
void dvb_table_pat_print(struct dvb_v5_fe_parms *parms, struct dvb_table_pat *table)
Prints the content of the PAT table.
MPEG-TS PAT program table.
struct dvb_table_pat_program * next
struct dvb_table_pat_program * program
struct dvb_table_header header
Keeps data needed to handle the DVB frontend.