X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fcmd-2-11.h;h=b3a3a997a197804998d11ce27b21c1195f21a3f0;hb=211d28db4ccebf1a2abcd04eabba31cf46af3060;hp=54f6f409f1fe9308448dd1b3403e66f4a53c8126;hpb=23c8ff5013f1e8c132cab7845ca608dbed4fca7f;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/cmd-2-11.h b/src/bin/lttng-relayd/cmd-2-11.h index 54f6f409f..b3a3a997a 100644 --- a/src/bin/lttng-relayd/cmd-2-11.h +++ b/src/bin/lttng-relayd/cmd-2-11.h @@ -1,30 +1,24 @@ /* - * Copyright (C) 2018 - Jonathan Rajotte + * Copyright (C) 2018 Jonathan Rajotte * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License, version 2 only, as - * published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + #ifndef RELAYD_CMD_2_11_H #define RELAYD_CMD_2_11_H #include "lttng-relayd.h" #include -#include +#include int cmd_create_session_2_11(const struct lttng_buffer_view *payload, - char *session_name, char *hostname, + char *session_name, char *hostname, char *base_path, uint32_t *live_timer, bool *snapshot, - lttng_uuid sessiond_uuid); + uint64_t *id_sessiond, lttng_uuid sessiond_uuid, + bool *has_current_chunk, uint64_t *current_chunk_id, + time_t *creation_time, + bool *session_name_contains_creation_time); int cmd_recv_stream_2_11(const struct lttng_buffer_view *payload, char **ret_path_name, char **ret_channel_name,