-struct bt_private_field *bt_private_packet_context_field_borrow_private_field(
- struct bt_private_packet_context_field *context_field)
+struct bt_field *bt_packet_context_field_borrow_field(
+ struct bt_packet_context_field *context_field)
-struct bt_private_packet_context_field *bt_private_packet_context_field_create(
- struct bt_private_stream_class *priv_stream_class)
+struct bt_packet_context_field *bt_packet_context_field_create(
+ struct bt_stream_class *stream_class)
struct bt_field_wrapper *field_wrapper;
BT_ASSERT_PRE_NON_NULL(stream_class, "Stream class");
BT_ASSERT_PRE(stream_class->frozen,
struct bt_field_wrapper *field_wrapper;
BT_ASSERT_PRE_NON_NULL(stream_class, "Stream class");
BT_ASSERT_PRE(stream_class->frozen,
stream_class);
field_wrapper = bt_field_wrapper_create(
&stream_class->packet_context_field_pool,
stream_class);
field_wrapper = bt_field_wrapper_create(
&stream_class->packet_context_field_pool,