/*
- * Copyright (C) 2014 Jonathan Rajotte <jonathan.r.julien@gmail.com>
- * Copyright (C) 2014 Olivier Cotte <olivier.cotte@polymtl.ca>
+ * Copyright (C) 2014 EfficiOS Inc.
* Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
- * SPDX-License-Identifier: GPL-2.0-only
+ * SPDX-License-Identifier: LGPL-2.1-only
*
*/
#include <common/config/session-config.h>
#include <lttng/lttng.h>
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
/* Don't want to reference snapshot-internal.h here */
struct lttng_snapshot_output;
*
* writer An instance of a machine interface writer.
*
- * current_session_name: Snapshot record for session "current_session_name".
- *
* ctrl_url, data_url: Destination of the output receive from the command-line.
*
* Returns zero if the element's value could be written.
* Negative values indicate an error.
*/
-int mi_lttng_snapshot_record(struct mi_writer *writer,
- const char *current_session_name, const char *url,
+int mi_lttng_snapshot_record(struct mi_writer *writer, const char *url,
const char *cmdline_ctrl_url, const char *cmdline_data_url);
/*
enum lttng_rotation_state rotation_state,
const struct lttng_trace_archive_location *location);
-#if defined(__cplusplus)
-}
-#endif
-
#endif /* _MI_LTTNG_H */