lib: add internal object pool API and use it; adapt plugins/tests
[babeltrace.git] / include / babeltrace / ctf-ir / stream-class.h
index c34d3315a7d43d98d0db2972c1ab41abc27495ae..225ea45079a28c4d023194975ea9acc39adb56db 100644 (file)
@@ -142,6 +142,8 @@ except for:
 struct bt_stream_class;
 struct bt_event_class;
 struct bt_clock;
+struct bt_event_header_field;
+struct bt_packet_context_field;
 
 /**
 @name Creation and parent access functions
@@ -339,6 +341,10 @@ struct bt_field_type *bt_stream_class_get_packet_context_field_type(
                stream_class));
 }
 
+extern
+struct bt_packet_context_field *bt_stream_class_create_packet_context_field(
+               struct bt_stream_class *stream_class);
+
 /**
 @brief Sets the packet context field type of the CTF IR stream class
        \p stream_class to \p packet_context_type, or unsets the current packet
@@ -435,6 +441,9 @@ extern int bt_stream_class_set_event_header_field_type(
                struct bt_stream_class *stream_class,
                struct bt_field_type *event_header_type);
 
+extern struct bt_event_header_field *bt_stream_class_create_event_header_field(
+               struct bt_stream_class *stream_class);
+
 extern struct bt_field_type *
 bt_stream_class_borrow_event_context_field_type(
                struct bt_stream_class *stream_class);
This page took 0.023506 seconds and 4 git commands to generate.