lib: make packets and packet messages optional, disabled by default
[babeltrace.git] / include / babeltrace2 / trace-ir / stream-class.h
index c7cab857b20b6f83b6043fe6a793333fddf2952a..bf3fced913efabc627a5d6873885d2cffdfa55d4 100644 (file)
@@ -67,12 +67,6 @@ extern void bt_stream_class_set_assigns_automatic_event_class_id(
 extern void bt_stream_class_set_assigns_automatic_stream_id(
                bt_stream_class *stream_class, bt_bool value);
 
-extern void bt_stream_class_set_packets_have_beginning_default_clock_snapshot(
-               bt_stream_class *stream_class, bt_bool value);
-
-extern void bt_stream_class_set_packets_have_end_default_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,
@@ -88,6 +82,11 @@ typedef enum bt_stream_class_set_field_class_status {
        BT_STREAM_CLASS_SET_FIELD_CLASS_STATUS_OK               = __BT_FUNC_STATUS_OK,
 } bt_stream_class_set_field_class_status;
 
+extern void bt_stream_class_set_supports_packets(
+               bt_stream_class *stream_class, bt_bool supports_packets,
+               bt_bool with_beginning_default_clock_snapshot,
+               bt_bool with_end_default_clock_snapshot);
+
 extern bt_stream_class_set_field_class_status
 bt_stream_class_set_packet_context_field_class(
                bt_stream_class *stream_class,
This page took 0.023098 seconds and 4 git commands to generate.