X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=lib%2Ftrace-ir%2Fpacket-context-field.c;h=e8c577e8964f7a261c9769fecf2306fddd96d1f6;hp=b71c6de47df0d02dd670ee2051e5e347c9ca612b;hb=40f4ba76dd6f9508ca51b6220eaed57632281a07;hpb=05e2128659970c32648a01255ed870449f05d518 diff --git a/lib/trace-ir/packet-context-field.c b/lib/trace-ir/packet-context-field.c index b71c6de4..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_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_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;