char service_name[MAXSECLEN];
} SVCdesc;
+typedef struct _LOGdesc {
+ int descriptor_tag;
+ int descriptor_length;
+ int logo_transmission_type;
+ int reserved_future_use1;
+ int logo_id;
+ int reserved_future_use2;
+ int logo_version;
+ int download_data_id;
+
+ char logo_char[MAXSECLEN];
+} LOGdesc;
+
+typedef struct _TAG_LOGO
+{
+ void *logo;
+ int logo_size;
+} LOGO;
+
+typedef struct _TAG_STATION
+{
+ char *name;
+ char *ontv;
+ int tsId; // OriginalNetworkID
+ int onId; // TransportStreamID
+ int svId; // ServiceID
+ unsigned int logo_download_data_id;
+ LOGO logo_array[6];
+} STATION;
#ifdef __cplusplus
extern "C"{
int parseSDThead(unsigned char *data, SDThead *h);
int parseSDTbody(unsigned char *data, SDTbody *b);
int parseSVCdesc(unsigned char *data, SVCdesc *desc);
- void dumpSDT(unsigned char *data, SVT_CONTROL *top);
+ void dumpSDT(unsigned char *ptr, SVT_CONTROL *top, STATION **station, int * station_count, char *ontvheader);
#ifdef __cplusplus
}