* http://www.efficios.com/ctf
*/
-#include <babeltrace/ctf-ir/stream-class.h>
+/* For enum bt_property_availability */
+#include <babeltrace/property.h>
+
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
-struct bt_ctf_event;
-struct bt_ctf_stream;
+struct bt_stream;
+struct bt_stream_class;
-extern struct bt_ctf_stream *bt_ctf_stream_create(
- struct bt_ctf_stream_class *stream_class);
+extern struct bt_stream *bt_stream_create(struct bt_stream_class *stream_class);
-/*
- * bt_ctf_stream_get_stream_class: get a stream's class.
- *
- * @param stream Stream instance.
- *
- * Returns the stream's class, NULL on error.
- */
-extern struct bt_ctf_stream_class *bt_ctf_stream_get_class(
- struct bt_ctf_stream *stream);
+extern struct bt_stream *bt_stream_create_with_id(
+ struct bt_stream_class *stream_class, uint64_t id);
+
+extern struct bt_stream_class *bt_stream_borrow_class(struct bt_stream *stream);
+
+extern const char *bt_stream_get_name(struct bt_stream *stream);
+
+extern int bt_stream_set_name(struct bt_stream *stream, const char *name);
+
+extern uint64_t bt_stream_get_id(struct bt_stream *stream);
#ifdef __cplusplus
}