+#include <stddef.h>
+#include <stdint.h>
+#include <unistd.h>
+#include <usterr-signal-safe.h>
+#include <urcu/compiler.h>
+#include "shm_types.h"
+
+/* channel_handle_create - for UST. */
+__attribute__((visibility("hidden")))
+extern
+struct lttng_ust_shm_handle *channel_handle_create(void *data,
+ uint64_t memory_map_size, int wakeup_fd);
+
+/* channel_handle_add_stream - for UST. */
+__attribute__((visibility("hidden")))
+extern
+int channel_handle_add_stream(struct lttng_ust_shm_handle *handle,
+ int shm_fd, int wakeup_fd, uint32_t stream_nr,
+ uint64_t memory_map_size);
+
+__attribute__((visibility("hidden")))
+unsigned int channel_handle_get_nr_streams(struct lttng_ust_shm_handle *handle);
+
+__attribute__((visibility("hidden")))
+extern
+void channel_destroy(struct lttng_ust_lib_ring_buffer_channel *chan,
+ struct lttng_ust_shm_handle *handle,
+ int consumer);
+