#ifndef _LTTNG_USTCONSUMER_H
#define _LTTNG_USTCONSUMER_H
-#include <config.h>
#include <errno.h>
-#include <common/consumer.h>
+#include <common/consumer/consumer.h>
#ifdef HAVE_LIBLTTNG_UST_CTL
extern int lttng_ustconsumer_allocate_channel(struct lttng_consumer_channel *chan);
extern void lttng_ustconsumer_del_channel(struct lttng_consumer_channel *chan);
+extern void lttng_ustconsumer_free_channel(struct lttng_consumer_channel *chan);
extern int lttng_ustconsumer_add_stream(struct lttng_consumer_stream *stream);
extern void lttng_ustconsumer_del_stream(struct lttng_consumer_stream *stream);
{
}
+static inline
+void lttng_ustconsumer_free_channel(struct lttng_consumer_channel *chan)
+{
+}
+
static inline
int lttng_ustconsumer_add_stream(struct lttng_consumer_stream *stream)
{