10 typedef struct _SDThead {
12 int section_syntax_indicator;
13 int reserved_future_use1;
16 int transport_stream_id;
19 int current_next_indicator;
21 int last_section_number;
22 int original_network_id;
23 int reserved_future_use2;
26 typedef struct _SDTbody {
28 int reserved_future_use1;
29 int EIT_user_defined_flags;
30 int EIT_schedule_flag;
31 int EIT_present_following_flag;
34 int descriptors_loop_length;
37 typedef struct _SVCdesc {
39 int descriptor_length;
41 int service_provider_name_length;
42 char service_provider_name[MAXSECLEN];
43 int service_name_length;
44 char service_name[MAXSECLEN];
50 #endif /* __cplusplus */
52 int parseSDThead(unsigned char *data, SDThead *h);
53 int parseSDTbody(unsigned char *data, SDTbody *b);
54 int parseSVCdesc(unsigned char *data, SVCdesc *desc);
55 void dumpSDT(unsigned char *data, SVT_CONTROL *top);
59 #endif /* __cplusplus */