Commit | Line | Data |
---|---|---|
f86f6389 | 1 | /* |
ab5be9fa | 2 | * Copyright (C) 2018 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> |
f86f6389 | 3 | * |
ab5be9fa | 4 | * SPDX-License-Identifier: GPL-2.0-only |
f86f6389 | 5 | * |
f86f6389 | 6 | */ |
ab5be9fa | 7 | |
f86f6389 JR |
8 | #ifndef RELAYD_CMD_2_11_H |
9 | #define RELAYD_CMD_2_11_H | |
10 | ||
c9e313bc SM |
11 | #include "lttng-relayd.hpp" |
12 | #include <common/buffer-view.hpp> | |
13 | #include <common/uuid.hpp> | |
f86f6389 JR |
14 | |
15 | int cmd_create_session_2_11(const struct lttng_buffer_view *payload, | |
6fa5fe7c | 16 | char *session_name, char *hostname, char *base_path, |
23c8ff50 | 17 | uint32_t *live_timer, bool *snapshot, |
1e791a74 | 18 | uint64_t *id_sessiond, lttng_uuid sessiond_uuid, |
db1da059 | 19 | bool *has_current_chunk, uint64_t *current_chunk_id, |
46ef2188 MD |
20 | time_t *creation_time, |
21 | bool *session_name_contains_creation_time); | |
f86f6389 | 22 | |
2f21a469 JR |
23 | int cmd_recv_stream_2_11(const struct lttng_buffer_view *payload, |
24 | char **ret_path_name, char **ret_channel_name, | |
0b50e4b3 JG |
25 | uint64_t *tracefile_size, uint64_t *tracefile_count, |
26 | uint64_t *trace_archive_id); | |
2f21a469 | 27 | |
f86f6389 | 28 | #endif /* RELAYD_CMD_2_11_H */ |