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 | 11 | #include "lttng-relayd.hpp" |
28f23191 | 12 | |
c9e313bc SM |
13 | #include <common/buffer-view.hpp> |
14 | #include <common/uuid.hpp> | |
f86f6389 JR |
15 | |
16 | int cmd_create_session_2_11(const struct lttng_buffer_view *payload, | |
28f23191 JG |
17 | char *session_name, |
18 | char *hostname, | |
19 | char *base_path, | |
20 | uint32_t *live_timer, | |
21 | bool *snapshot, | |
22 | uint64_t *id_sessiond, | |
23 | lttng_uuid& sessiond_uuid, | |
24 | bool *has_current_chunk, | |
25 | uint64_t *current_chunk_id, | |
26 | time_t *creation_time, | |
27 | bool *session_name_contains_creation_time); | |
f86f6389 | 28 | |
2f21a469 | 29 | int cmd_recv_stream_2_11(const struct lttng_buffer_view *payload, |
28f23191 JG |
30 | char **ret_path_name, |
31 | char **ret_channel_name, | |
32 | uint64_t *tracefile_size, | |
33 | uint64_t *tracefile_count, | |
34 | uint64_t *trace_archive_id); | |
2f21a469 | 35 | |
f86f6389 | 36 | #endif /* RELAYD_CMD_2_11_H */ |