10 typedef struct _PAThead {
11 unsigned char table_id;
12 int section_syntax_indicator;
16 int transport_stream_id;
19 int current_next_indicator;
21 int last_section_number;
24 typedef struct _PATbody {
31 typedef struct _PMThead {
33 int section_syntax_indicator;
40 int current_next_indicator;
42 int last_section_number;
46 int program_info_length;
49 typedef struct _PMTbody {
59 #endif /* __cplusplus */
61 int parsePAThead(unsigned char *data, PAThead *path);
62 int parsePATbody(unsigned char *data, PATbody *patb);
63 void dumpPAT(unsigned char *ptr, SECcache *secs, int count, int *pmtpids);
64 void dumpPMT(unsigned char *ptr, SECcache *secs, int count, int *dsmccpids);
68 #endif /* __cplusplus */