X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fstream-class.h;h=225ea45079a28c4d023194975ea9acc39adb56db;hp=c34d3315a7d43d98d0db2972c1ab41abc27495ae;hb=312c056ae3d374b253fa0cfe5ed576c0b0e5e569;hpb=d1e4683534e67cc8643ad27536f64f6cc54bc5dc diff --git a/include/babeltrace/ctf-ir/stream-class.h b/include/babeltrace/ctf-ir/stream-class.h index c34d3315..225ea450 100644 --- a/include/babeltrace/ctf-ir/stream-class.h +++ b/include/babeltrace/ctf-ir/stream-class.h @@ -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);