From b2481397baa0c65c254eb5852ea6e81fb3abdcc8 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 2 Dec 2016 20:52:40 -0500 Subject: [PATCH] stream-class.h: doc: fix trace/packet instead of stream/event MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- include/babeltrace/ctf-ir/stream-class.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/babeltrace/ctf-ir/stream-class.h b/include/babeltrace/ctf-ir/stream-class.h index 80febe3d..2111ca1f 100644 --- a/include/babeltrace/ctf-ir/stream-class.h +++ b/include/babeltrace/ctf-ir/stream-class.h @@ -377,7 +377,7 @@ a stream class without a event header field type. As of Babeltrace \btversion, if \p event_header_type is not \c NULL, \p event_header_type \em must be a CTF IR structure field type object. -@param[in] trace_class Trace class of which to set the packet +@param[in] stream_class Stream class of which to set the event header field type. @param[in] event_header_type Event header field type, or \c NULL to unset the current event header field type. @@ -391,8 +391,8 @@ As of Babeltrace \btversion, if \p event_header_type is not \c NULL, @post On success, if \p event_header_type is not \c NULL, the reference count of \p event_header_type is incremented. -@sa bt_ctf_trace_get_packet_header_type(): Returns the packet - header field type of a given trace class. +@sa bt_ctf_stream_class_get_event_header_type(): Returns the event + header field type of a given stream class. */ extern int bt_ctf_stream_class_set_event_header_type( struct bt_ctf_stream_class *stream_class, -- 2.34.1