Validate CTF semantics in selected CTF IR functions
[babeltrace.git] / include / babeltrace / ctf-ir / stream-class-internal.h
index b8366aaabd64a757d75384ccb533265b51a53996..a7c98266154852267bd0390a7e962a4f50b076a6 100644 (file)
@@ -45,9 +45,9 @@ struct bt_ctf_stream_class {
        /* event class id (int64_t) to event class */
        GHashTable *event_classes_ht;
        int id_set;
-       uint32_t id;
-       uint32_t next_event_id;
-       uint32_t next_stream_id;
+       int64_t id;
+       int64_t next_event_id;
+       int64_t next_stream_id;
        struct bt_ctf_field_type *packet_context_type;
        struct bt_ctf_field_type *event_header_type;
        struct bt_ctf_field_type *event_context_type;
@@ -74,12 +74,18 @@ void bt_ctf_stream_class_set_byte_order(
 
 /* Set stream_class id without checking if the stream class is frozen */
 BT_HIDDEN
-int _bt_ctf_stream_class_set_id(struct bt_ctf_stream_class *stream_class,
-               uint32_t id);
+void _bt_ctf_stream_class_set_id(struct bt_ctf_stream_class *stream_class,
+               int64_t id);
 
 BT_HIDDEN
 int bt_ctf_stream_class_set_id_no_check(
-               struct bt_ctf_stream_class *stream_class, uint32_t id);
+               struct bt_ctf_stream_class *stream_class, int64_t id);
+
+BT_HIDDEN
+int bt_ctf_stream_class_map_clock_class(
+               struct bt_ctf_stream_class *stream_class,
+               struct bt_ctf_field_type *packet_context_type,
+               struct bt_ctf_field_type *event_header_type);
 
 static inline
 struct bt_ctf_trace *bt_ctf_stream_class_borrow_trace(
This page took 0.024131 seconds and 4 git commands to generate.