*/
#include <babeltrace/types.h>
+/* For enum bt_stream_class_status */
+#include <babeltrace/trace-ir/stream-class-const.h>
+
#ifdef __cplusplus
extern "C" {
#endif
extern bt_trace_class *bt_stream_class_borrow_trace_class(
bt_stream_class *stream_class);
-extern int bt_stream_class_set_name(bt_stream_class *stream_class,
- const char *name);
+extern enum bt_stream_class_status bt_stream_class_set_name(
+ bt_stream_class *stream_class, const char *name);
extern void bt_stream_class_set_assigns_automatic_event_class_id(
bt_stream_class *stream_class, bt_bool value);
extern void bt_stream_class_set_assigns_automatic_stream_id(
bt_stream_class *stream_class, bt_bool value);
-extern int bt_stream_class_set_packet_context_field_class(
+extern enum bt_stream_class_status
+bt_stream_class_set_packet_context_field_class(
bt_stream_class *stream_class,
bt_field_class *field_class);
-extern int bt_stream_class_set_event_header_field_class(
+extern enum bt_stream_class_status
+bt_stream_class_set_event_header_field_class(
bt_stream_class *stream_class,
bt_field_class *field_class);
-extern int
+extern enum bt_stream_class_status
bt_stream_class_set_event_common_context_field_class(
bt_stream_class *stream_class,
bt_field_class *field_class);
extern bt_clock_class *bt_stream_class_borrow_default_clock_class(
bt_stream_class *stream_class);
-extern int bt_stream_class_set_default_clock_class(
+extern enum bt_stream_class_status bt_stream_class_set_default_clock_class(
bt_stream_class *stream_class,
bt_clock_class *clock_class);
bt_stream_class *stream_class, bt_bool value);
extern void
-bt_stream_class_set_packets_have_default_beginning_clock_value(
+bt_stream_class_set_packets_have_default_beginning_clock_snapshot(
bt_stream_class *stream_class, bt_bool value);
extern void
-bt_stream_class_set_packets_have_default_end_clock_value(
+bt_stream_class_set_packets_have_default_end_clock_snapshot(
bt_stream_class *stream_class, bt_bool value);
#ifdef __cplusplus