lib: add aliases for Babeltrace structure types
[babeltrace.git] / include / babeltrace / trace-ir / packet-context-field.h
index 6e29f632ab9f0338c99241b0ba34ea5e6fe9915a..4fcde26f6af5a207c7c8cb08da6c423234ac5cef 100644 (file)
  * http://www.efficios.com/ctf
  */
 
+/* For bt_stream_class, bt_packet_context_field, bt_field */
+#include <babeltrace/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct bt_stream_class;
-struct bt_packet_context_field;
-struct bt_field;
-
 extern
-struct bt_packet_context_field *bt_packet_context_field_create(
-               struct bt_stream_class *stream_class);
+bt_packet_context_field *bt_packet_context_field_create(
+               bt_stream_class *stream_class);
 
 extern
-struct bt_field *bt_packet_context_field_borrow_field(
-               struct bt_packet_context_field *field);
+bt_field *bt_packet_context_field_borrow_field(
+               bt_packet_context_field *field);
 
 extern
 void bt_packet_context_field_release(
-               struct bt_packet_context_field *field);
+               bt_packet_context_field *field);
 
 #ifdef __cplusplus
 }
This page took 0.024864 seconds and 4 git commands to generate.