|
@@ -162,6 +162,9 @@ int ts_nit_add_frequency_list_descriptor_cable (struct ts_nit *nit, uint16_t
|
162
|
162
|
int ts_nit_add_cable_delivery_descriptor (struct ts_nit *nit, uint16_t ts_id, uint16_t org_net_id, uint32_t freq, uint8_t modulation, uint32_t symbol_rate);
|
163
|
163
|
int ts_nit_add_service_list_descriptor (struct ts_nit *nit, uint16_t ts_id, uint16_t org_net_id, uint32_t *services, uint8_t num_services);
|
164
|
164
|
|
|
165
|
+struct ts_nit * ts_nit_copy (struct ts_nit *nit);
|
|
166
|
+int ts_nit_is_same (struct ts_nit *nit1, struct ts_nit *nit2);
|
|
167
|
+
|
165
|
168
|
// SDT
|
166
|
169
|
struct ts_sdt * ts_sdt_alloc ();
|
167
|
170
|
struct ts_sdt * ts_sdt_alloc_init (uint16_t org_network_id, uint16_t transport_stream_id);
|
|
@@ -174,6 +177,9 @@ void ts_sdt_generate (struct ts_sdt *sdt, uint8_t **ts_packets, int *num_pack
|
174
|
177
|
|
175
|
178
|
int ts_sdt_add_service_descriptor(struct ts_sdt *sdt, uint16_t service_id, uint8_t video, char *provider_name, char *service_name);
|
176
|
179
|
|
|
180
|
+struct ts_sdt * ts_sdt_copy (struct ts_sdt *sdt);
|
|
181
|
+int ts_sdt_is_same (struct ts_sdt *sdt1, struct ts_sdt *sdt2);
|
|
182
|
+
|
177
|
183
|
// EIT
|
178
|
184
|
struct ts_eit * ts_eit_alloc ();
|
179
|
185
|
struct ts_eit * ts_eit_alloc_init (uint16_t service_id, uint16_t transport_stream_id, uint16_t org_network_id, uint8_t table_id, uint8_t sec_number, uint8_t last_sec_number);
|
|
@@ -194,6 +200,8 @@ void ts_eit_regenerate_packets (struct ts_eit *eit);
|
194
|
200
|
int ts_eit_add_short_event_descriptor (struct ts_eit *eit, uint16_t event_id, uint8_t running, time_t start_time, int duration_sec, char *event_name, char *event_short_descr);
|
195
|
201
|
int ts_eit_add_extended_event_descriptor(struct ts_eit *eit, uint16_t event_id, uint8_t running, time_t start_time, int duration_sec, char *text);
|
196
|
202
|
|
|
203
|
+int ts_eit_is_same (struct ts_eit *eit1, struct ts_eit *eit2);
|
|
204
|
+
|
197
|
205
|
// TDT
|
198
|
206
|
struct ts_tdt * ts_tdt_alloc();
|
199
|
207
|
struct ts_tdt * ts_tdt_alloc_init (time_t ts);
|
|
@@ -211,6 +219,9 @@ void ts_tdt_set_time (struct ts_tdt *tdt, time_t ts);
|
211
|
219
|
void ts_tot_set_localtime_offset (struct ts_tdt *tdt, time_t now, time_t change_time, uint8_t polarity, uint16_t ofs, uint16_t ofs_next);
|
212
|
220
|
void ts_tot_set_localtime_offset_sofia (struct ts_tdt *tdt, time_t now);
|
213
|
221
|
|
|
222
|
+struct ts_tdt * ts_tdt_copy (struct ts_tdt *tdt);
|
|
223
|
+int ts_tdt_is_same (struct ts_tdt *tdt1, struct ts_tdt *tdt2);
|
|
224
|
+
|
214
|
225
|
// Private section
|
215
|
226
|
struct ts_privsec * ts_privsec_alloc();
|
216
|
227
|
void ts_privsec_clear (struct ts_privsec *pprivsec);
|