X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fevent-internal.h;h=171e7c78474ba91d3b1e5a8b836ad91de18295b7;hb=b8248cc00f72ac2448c697c76033c8862d8db673;hp=d26a9b990562050ed391b586661b41a4c5a94318;hpb=7f800dc7c2a13dc895a4c609150c231b6745317c;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/event-internal.h b/include/babeltrace/ctf-ir/event-internal.h index d26a9b99..171e7c78 100644 --- a/include/babeltrace/ctf-ir/event-internal.h +++ b/include/babeltrace/ctf-ir/event-internal.h @@ -31,14 +31,16 @@ #include #include #include +#include #include #include +#define BT_CTF_EVENT_CLASS_ATTR_ID_INDEX 0 +#define BT_CTF_EVENT_CLASS_ATTR_NAME_INDEX 1 + struct bt_ctf_event_class { struct bt_ctf_ref ref_count; - GQuark name; - int id_set; - uint32_t id; + struct bt_object *attributes; /* An event class does not have ownership of a stream class */ struct bt_ctf_stream_class *stream_class; /* Structure type containing the event's context */