From: Philippe Proulx Date: Sat, 3 Dec 2016 01:52:40 +0000 (-0500) Subject: stream-class.h: doc: fix trace/packet instead of stream/event X-Git-Tag: v2.0.0-pre1~573 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=b2481397baa0c65c254eb5852ea6e81fb3abdcc8 stream-class.h: doc: fix trace/packet instead of stream/event Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- 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,