X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fstream-class.h;h=71b10679ceac550ed0a1f4f197489daf7300cf3d;hb=de876b7fd76bbc7ff498b88f0cf11bd828e5743a;hp=b52dcb78c6a6004f0465784abf16b7e12952f10b;hpb=a12af8c16306612401485f79533f0d3f2983e7d2;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/stream-class.h b/include/babeltrace/ctf-ir/stream-class.h index b52dcb78..71b10679 100644 --- a/include/babeltrace/ctf-ir/stream-class.h +++ b/include/babeltrace/ctf-ir/stream-class.h @@ -52,11 +52,6 @@ struct bt_ctf_clock; * - uint64_t packet_size * - uint64_t events_discarded * - * A stream class's event header is a structure initialized the following - * fields: - * - uint32_t id - * - uint64_t timestamp - * * @param name Stream name. * * Returns an allocated stream class on success, NULL on error. @@ -132,8 +127,6 @@ extern int bt_ctf_stream_class_set_id( * The stream class will share the ownership of "event_class" by incrementing * its reference count. * - * Note that an event class may only be added to one stream class. - * * @param stream_class Stream class. * @param event_class Event class to add to the provided stream class. * @@ -201,31 +194,6 @@ extern int bt_ctf_stream_class_set_packet_context_type( struct bt_ctf_stream_class *stream_class, struct bt_ctf_field_type *packet_context_type); -/* - * bt_ctf_stream_class_get_event_header_type: get the stream class' - * event header type. - * - * @param stream_class Stream class. - * - * Returns the stream event header's type (a structure), NULL on error. - */ -extern struct bt_ctf_field_type * -bt_ctf_stream_class_get_event_header_type( - struct bt_ctf_stream_class *stream_class); - -/* - * bt_ctf_stream_class_set_event_header_type: set the stream class' - * event header type. - * - * @param stream_class Stream class. - * @param event_header_type Event header type (must be a structure). - * - * Returns 0 on success, a negative value on error. - */ -extern int bt_ctf_stream_class_set_event_header_type( - struct bt_ctf_stream_class *stream_class, - struct bt_ctf_field_type *event_header_type); - /* * bt_ctf_stream_class_get_event_context_type: get the stream class' * event context type.