X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fcmd-2-2.h;h=e754ace4ccdd61ef4fba35d3add5e3975837dac1;hp=9a6312777a27ea76c3445b5fb4e07cceeb3b3cd0;hb=ce0b1d61919f37517a6212f7af2afe0fa1b1dcb0;hpb=0f907de1f20c91a2bd1a08ee4d50332d1958754b diff --git a/src/bin/lttng-relayd/cmd-2-2.h b/src/bin/lttng-relayd/cmd-2-2.h index 9a6312777..e754ace4c 100644 --- a/src/bin/lttng-relayd/cmd-2-2.h +++ b/src/bin/lttng-relayd/cmd-2-2.h @@ -1,26 +1,20 @@ +#ifndef RELAYD_CMD_2_2_H +#define RELAYD_CMD_2_2_H + /* - * Copyright (C) 2013 - Julien Desfossez - * David Goulet - * - * 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. + * Copyright (C) 2013 Julien Desfossez + * Copyright (C) 2013 David Goulet + * Copyright (C) 2015 Mathieu Desnoyers * - * 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. + * SPDX-License-Identifier: GPL-2.0-only * - * 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_2_H -#define RELAYD_CMD_2_2_H - #include "lttng-relayd.h" +#include -int cmd_recv_stream_2_2(struct relay_command *cmd, struct relay_stream *stream); +int cmd_recv_stream_2_2(const struct lttng_buffer_view *payload, + char **path_name, char **channel_name, + uint64_t *tracefile_size, uint64_t *tracefile_count); #endif /* RELAYD_CMD_2_2_H */