Rename ctf_event to ctf_event_declaration
[babeltrace.git] / formats / ctf / callbacks.c
index ea41344a72ef1ff5c5957383fe96e9a49de28daf..0b4da9c5599c4e2b995e0c41553f2babda53a231 100644 (file)
@@ -146,11 +146,11 @@ int bt_ctf_iter_add_callback(struct bt_ctf_iter *iter,
 }
 
 static
-struct ctf_stream_event *extract_ctf_stream_event(struct ctf_stream *stream)
+struct ctf_event_definition *extract_ctf_stream_event(struct ctf_stream_definition *stream)
 {
        struct ctf_stream_declaration *stream_class = stream->stream_class;
-       struct ctf_event *event_class;
-       struct ctf_stream_event *event;
+       struct ctf_event_declaration *event_class;
+       struct ctf_event_definition *event;
        uint64_t id = stream->event_id;
 
        if (id >= stream_class->events_by_id->len) {
@@ -172,7 +172,7 @@ struct ctf_stream_event *extract_ctf_stream_event(struct ctf_stream *stream)
 }
 
 void process_callbacks(struct bt_ctf_iter *iter,
-                      struct ctf_stream *stream)
+                      struct ctf_stream_definition *stream)
 {
        struct bt_stream_callbacks *bt_stream_cb;
        struct bt_callback_chain *bt_chain;
This page took 0.023446 seconds and 4 git commands to generate.