lib: make discarded events/packets support and clock snapshots optional
[babeltrace.git] / bindings / python / bt2 / bt2 / native_bt_stream_class.i
index aba139bf3d951a2578ba77c7bb63defaeb9b7d8f..7538ae3532735c13a90f0281a591cb3024c754bb 100644 (file)
@@ -47,6 +47,18 @@ extern bt_bool bt_stream_class_packets_have_default_beginning_clock_snapshot(
 extern bt_bool bt_stream_class_packets_have_default_end_clock_snapshot(
                const bt_stream_class *stream_class);
 
+extern bt_bool bt_stream_class_supports_discarded_events(
+               const bt_stream_class *stream_class);
+
+extern bt_bool bt_stream_class_supports_discarded_packets(
+               const bt_stream_class *stream_class);
+
+extern bt_bool bt_stream_class_discarded_events_have_default_clock_snapshots(
+               const bt_stream_class *stream_class);
+
+extern bt_bool bt_stream_class_discarded_packets_have_default_clock_snapshots(
+               const bt_stream_class *stream_class);
+
 extern uint64_t bt_stream_class_get_id(
                const bt_stream_class *stream_class);
 
@@ -103,6 +115,16 @@ extern void bt_stream_class_set_packets_have_default_beginning_clock_snapshot(
 extern void bt_stream_class_set_packets_have_default_end_clock_snapshot(
                bt_stream_class *stream_class, bt_bool value);
 
+extern void bt_stream_class_set_supports_discarded_events(
+               bt_stream_class *stream_class,
+               bt_bool supports_discarded_events,
+               bt_bool with_default_clock_snapshots);
+
+extern void bt_stream_class_set_supports_discarded_packets(
+               bt_stream_class *stream_class,
+               bt_bool supports_discarded_packets,
+               bt_bool with_default_clock_snapshots);
+
 extern bt_stream_class_status
 bt_stream_class_set_packet_context_field_class(
                bt_stream_class *stream_class,
This page took 0.023203 seconds and 4 git commands to generate.