*/
#define _LGPL_SOURCE
+#include "consumer-output.hpp"
+#include "snapshot-output.hpp"
#include "snapshot.hpp"
#include "utils.hpp"
*
* Return 0 on success or else a negative value.
*/
-static int output_init(const struct ltt_session *session,
+static int output_init(const ltt_session::locked_ref& session,
uint64_t max_size,
const char *name,
struct lttng_uri *uris,
*
* Return 0 on success or else a negative value.
*/
-int snapshot_output_init_with_uri(const struct ltt_session *session,
+int snapshot_output_init_with_uri(const ltt_session::locked_ref& session,
uint64_t max_size,
const char *name,
struct lttng_uri *uris,
*
* Return 0 on success or else a negative value.
*/
-int snapshot_output_init(const struct ltt_session *session,
+int snapshot_output_init(const ltt_session::locked_ref& session,
uint64_t max_size,
const char *name,
const char *ctrl_url,