X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fmi-lttng.h;h=78e04199a0afd98baae805f6cba8d10b6a6f6402;hb=159a54f4a1c884e465c40ffc7ac02fd64c294bf8;hp=74ae502f5be023941a939f7a3a0fe8571f72246a;hpb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;p=lttng-tools.git diff --git a/src/common/mi-lttng.h b/src/common/mi-lttng.h index 74ae502f5..78e04199a 100644 --- a/src/common/mi-lttng.h +++ b/src/common/mi-lttng.h @@ -1,9 +1,8 @@ /* - * Copyright (C) 2014 Jonathan Rajotte - * Copyright (C) 2014 Olivier Cotte + * Copyright (C) 2014 EfficiOS Inc. * Copyright (C) 2016 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ @@ -17,10 +16,6 @@ #include #include -#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 */