ctf: compile plugin as C++
[babeltrace.git] / src / plugins / ctf / lttng-live / data-stream.hpp
diff --git a/src/plugins/ctf/lttng-live/data-stream.hpp b/src/plugins/ctf/lttng-live/data-stream.hpp
new file mode 100644 (file)
index 0000000..5c9e9a6
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * SPDX-License-Identifier: MIT
+ *
+ * Copyright 2016 Philippe Proulx <pproulx@efficios.com>
+ */
+
+#ifndef LTTNG_LIVE_DATA_STREAM_H
+#define LTTNG_LIVE_DATA_STREAM_H
+
+#include <stdio.h>
+#include <stdint.h>
+
+#include <glib.h>
+
+#include "../common/msg-iter/msg-iter.hpp"
+#include "lttng-live.hpp"
+
+enum lttng_live_iterator_status lttng_live_lazy_msg_init(
+               struct lttng_live_session *session,
+               bt_self_message_iterator *self_msg_iter);
+
+struct lttng_live_stream_iterator *lttng_live_stream_iterator_create(
+               struct lttng_live_session *session,
+               uint64_t ctf_trace_id,
+               uint64_t stream_id,
+               bt_self_message_iterator *self_msg_iter);
+
+void lttng_live_stream_iterator_destroy(
+               struct lttng_live_stream_iterator *stream);
+
+#endif /* LTTNG_LIVE_DATA_STREAM_H */
This page took 0.024346 seconds and 4 git commands to generate.