X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fcmd-2-2.h;h=822f627b1d07dbcf5e2c10fa9f76160a37dbed4b;hp=9a6312777a27ea76c3445b5fb4e07cceeb3b3cd0;hb=aa91fbc56d63f8d75661a68b68f4052d3c0dba45;hpb=0f907de1f20c91a2bd1a08ee4d50332d1958754b diff --git a/src/bin/lttng-relayd/cmd-2-2.h b/src/bin/lttng-relayd/cmd-2-2.h index 9a6312777..822f627b1 100644 --- a/src/bin/lttng-relayd/cmd-2-2.h +++ b/src/bin/lttng-relayd/cmd-2-2.h @@ -1,6 +1,10 @@ +#ifndef RELAYD_CMD_2_2_H +#define RELAYD_CMD_2_2_H + /* * Copyright (C) 2013 - Julien Desfossez * David Goulet + * 2015 - Mathieu Desnoyers * * 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 @@ -16,11 +20,11 @@ * 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 */