X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fctf%2Fcommon%2Fnotif-iter%2Fnotif-iter.h;fp=plugins%2Fctf%2Fcommon%2Fnotif-iter%2Fnotif-iter.h;h=baaa9cd67e7854103f8fddd50bcf92262607633d;hb=312c056ae3d374b253fa0cfe5ed576c0b0e5e569;hp=640bcf94855bab67c9fccd2f1084261433c3f618;hpb=d1e4683534e67cc8643ad27536f64f6cc54bc5dc;p=babeltrace.git diff --git a/plugins/ctf/common/notif-iter/notif-iter.h b/plugins/ctf/common/notif-iter/notif-iter.h index 640bcf94..baaa9cd6 100644 --- a/plugins/ctf/common/notif-iter/notif-iter.h +++ b/plugins/ctf/common/notif-iter/notif-iter.h @@ -226,7 +226,7 @@ struct bt_notif_iter_medium_ops { * @returns Stream instance (weak reference) or * \c NULL on error */ - struct bt_stream * (* get_stream)( + struct bt_stream * (* borrow_stream)( struct bt_stream_class *stream_class, uint64_t stream_id, void *data); }; @@ -318,7 +318,7 @@ enum bt_notif_iter_status bt_notif_iter_get_next_notification( /** * Returns the first packet header and context fields. This function - * never needs to call the `get_stream()` medium operation because + * never needs to call the `borrow_stream()` medium operation because * it does not create packet or event objects. * * @param notif_iter CTF notification iterator @@ -329,7 +329,7 @@ enum bt_notif_iter_status bt_notif_iter_get_next_notification( * @returns One of #bt_notif_iter_status values */ BT_HIDDEN -enum bt_notif_iter_status bt_notif_iter_get_packet_header_context_fields( +enum bt_notif_iter_status bt_notif_iter_borrow_packet_header_context_fields( struct bt_notif_iter *notit, struct bt_field **packet_header_field, struct bt_field **packet_context_field);