Clean-up: sessiond: cmd_enable_channel_internal
[lttng-tools.git] / src / common / mi-lttng.h
index 74ae502f5be023941a939f7a3a0fe8571f72246a..78e04199a0afd98baae805f6cba8d10b6a6f6402 100644 (file)
@@ -1,9 +1,8 @@
 /*
- * 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;
 
@@ -1047,15 +1042,12 @@ int mi_lttng_snapshot_add_output(struct mi_writer *writer,
  *
  * 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);
 
 /*
@@ -1121,8 +1113,4 @@ int mi_lttng_rotate(struct mi_writer *writer,
                enum lttng_rotation_state rotation_state,
                const struct lttng_trace_archive_location *location);
 
-#if defined(__cplusplus)
-}
-#endif
-
 #endif /* _MI_LTTNG_H */
This page took 0.024345 seconds and 4 git commands to generate.