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=bd1cd1414b377798145fb2b628ebadc32ea89976;hb=ce0b1d61919f37517a6212f7af2afe0fa1b1dcb0;hpb=58eb9381cd933f0644e6a5b89750dbd6d9b14570 diff --git a/src/bin/lttng-relayd/cmd-2-2.h b/src/bin/lttng-relayd/cmd-2-2.h index bd1cd1414..e754ace4c 100644 --- a/src/bin/lttng-relayd/cmd-2-2.h +++ b/src/bin/lttng-relayd/cmd-2-2.h @@ -1,27 +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_connection *conn, - 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 */