X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fcmd-2-11.hpp;fp=src%2Fbin%2Flttng-relayd%2Fcmd-2-11.hpp;h=4b004f0d3f4232865d831c962ce97a9379af6c8f;hp=0000000000000000000000000000000000000000;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c diff --git a/src/bin/lttng-relayd/cmd-2-11.hpp b/src/bin/lttng-relayd/cmd-2-11.hpp new file mode 100644 index 000000000..4b004f0d3 --- /dev/null +++ b/src/bin/lttng-relayd/cmd-2-11.hpp @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2018 Jonathan Rajotte + * + * SPDX-License-Identifier: GPL-2.0-only + * + */ + +#ifndef RELAYD_CMD_2_11_H +#define RELAYD_CMD_2_11_H + +#include "lttng-relayd.hpp" +#include +#include + +int cmd_create_session_2_11(const struct lttng_buffer_view *payload, + char *session_name, char *hostname, char *base_path, + uint32_t *live_timer, bool *snapshot, + 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, + uint64_t *tracefile_size, uint64_t *tracefile_count, + uint64_t *trace_archive_id); + +#endif /* RELAYD_CMD_2_11_H */