lib: add aliases for Babeltrace structure types
[babeltrace.git] / plugins / ctf / common / metadata / ctf-meta.h
index a52995251998fc0220b1d2bac2d9d7ccaba559b3..b4d56a45d87b95cbb4b42daab10dfd10b31f04a4 100644 (file)
@@ -66,7 +66,7 @@ struct ctf_field_class {
        bool in_ir;
 
        /* Weak, set during translation. NULL if `in_ir` is false below. */
-       struct bt_field_class *ir_fc;
+       bt_field_class *ir_fc;
 };
 
 struct ctf_field_class_bit_array {
@@ -84,7 +84,7 @@ struct ctf_field_class_int {
        int64_t storing_index;
 
        /* Owned by this */
-       struct bt_clock_class *mapped_clock_class;
+       bt_clock_class *mapped_clock_class;
 };
 
 struct ctf_range {
@@ -198,7 +198,7 @@ struct ctf_event_class {
        struct ctf_field_class *payload_fc;
 
        /* Weak, set during translation */
-       struct bt_event_class *ir_ec;
+       bt_event_class *ir_ec;
 };
 
 struct ctf_stream_class {
@@ -224,10 +224,10 @@ struct ctf_stream_class {
        GHashTable *event_classes_by_id;
 
        /* Owned by this */
-       struct bt_clock_class *default_clock_class;
+       bt_clock_class *default_clock_class;
 
        /* Weak, set during translation */
-       struct bt_stream_class *ir_sc;
+       bt_stream_class *ir_sc;
 };
 
 enum ctf_trace_class_env_entry_type {
@@ -257,7 +257,7 @@ struct ctf_trace_class {
 
        uint64_t stored_value_count;
 
-       /* Array of `struct bt_clock_class *` (owned by this) */
+       /* Array of `bt_clock_class *` (owned by this) */
        GPtrArray *clock_classes;
 
        /* Array of `struct ctf_stream_class *` */
@@ -269,7 +269,7 @@ struct ctf_trace_class {
        bool is_translated;
 
        /* Weak, set during translation */
-       struct bt_trace_class *ir_tc;
+       bt_trace_class *ir_tc;
 };
 
 static inline
@@ -1542,17 +1542,17 @@ end:
 }
 
 static inline
-struct bt_clock_class *ctf_trace_class_borrow_clock_class_by_name(
+bt_clock_class *ctf_trace_class_borrow_clock_class_by_name(
                struct ctf_trace_class *tc, const char *name)
 {
        uint64_t i;
-       struct bt_clock_class *ret_cc = NULL;
+       bt_clock_class *ret_cc = NULL;
 
        BT_ASSERT(tc);
        BT_ASSERT(name);
 
        for (i = 0; i < tc->clock_classes->len; i++) {
-               struct bt_clock_class *cc = tc->clock_classes->pdata[i];
+               bt_clock_class *cc = tc->clock_classes->pdata[i];
                const char *cc_name = bt_clock_class_get_name(cc);
 
                BT_ASSERT(cc_name);
This page took 0.026523 seconds and 4 git commands to generate.