X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Ftrace-ir%2Fpacket-context-field.c;h=e8c577e8964f7a261c9769fecf2306fddd96d1f6;hb=40f4ba76dd6f9508ca51b6220eaed57632281a07;hp=967ba52c75cec7a6968261ca410e917ef6ecf0c7;hpb=e5be10efe4d5543ba697c7e607ca0a5c33fa3ccb;p=babeltrace.git diff --git a/lib/trace-ir/packet-context-field.c b/lib/trace-ir/packet-context-field.c index 967ba52c..e8c577e8 100644 --- a/lib/trace-ir/packet-context-field.c +++ b/lib/trace-ir/packet-context-field.c @@ -24,14 +24,14 @@ #include #include +#include #include -#include #include #include #include -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_field_wrapper *field_wrapper = (void *) context_field; @@ -39,8 +39,8 @@ struct bt_private_field *bt_private_packet_context_field_borrow_private_field( return (void *) field_wrapper->field; } -void bt_private_packet_context_field_release( - struct bt_private_packet_context_field *context_field) +void bt_packet_context_field_release( + struct bt_packet_context_field *context_field) { struct bt_field_wrapper *field_wrapper = (void *) context_field; @@ -56,8 +56,8 @@ void bt_private_packet_context_field_release( bt_field_wrapper_destroy(field_wrapper); } -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 *priv_stream_class) { struct bt_stream_class *stream_class = (void *) priv_stream_class; struct bt_field_wrapper *field_wrapper;