X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fevent-internal.h;h=ac4cd6de83041946b3d720a04ff93238ddda3fe7;hp=aaf2ea88b650b81687066a27cd6291397c140e68;hb=2f100782231d86cdaaadf7a8568c5b28583800f4;hpb=c13c7ca07e124477b059a69d75835afe98d4e634 diff --git a/include/babeltrace/ctf-ir/event-internal.h b/include/babeltrace/ctf-ir/event-internal.h index aaf2ea88..ac4cd6de 100644 --- a/include/babeltrace/ctf-ir/event-internal.h +++ b/include/babeltrace/ctf-ir/event-internal.h @@ -39,8 +39,7 @@ struct bt_ctf_event_class { GQuark name; int id_set; uint32_t id; - int stream_id_set; - uint32_t stream_id; + struct bt_ctf_stream_class *stream_class; /* Structure type containing the event's context */ struct bt_ctf_field_type *context; /* Structure type containing the event's fields */ @@ -60,15 +59,8 @@ BT_HIDDEN void bt_ctf_event_class_freeze(struct bt_ctf_event_class *event_class); BT_HIDDEN -int bt_ctf_event_class_set_id(struct bt_ctf_event_class *event_class, - uint32_t id); - -BT_HIDDEN -uint32_t bt_ctf_event_class_get_id(struct bt_ctf_event_class *event_class); - -BT_HIDDEN -int bt_ctf_event_class_set_stream_id(struct bt_ctf_event_class *event_class, - uint32_t id); +int bt_ctf_event_class_set_stream_class(struct bt_ctf_event_class *event_class, + struct bt_ctf_stream_class *stream_class); BT_HIDDEN int bt_ctf_event_class_serialize(struct bt_ctf_event_class *event_class,