Commit | Line | Data |
---|---|---|
f86f6389 JR |
1 | /* |
2 | * Copyright (C) 2018 - Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify it | |
5 | * under the terms of the GNU General Public License, version 2 only, as | |
6 | * published by the Free Software Foundation. | |
7 | * | |
8 | * This program is distributed in the hope that it will be useful, but WITHOUT | |
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
11 | * more details. | |
12 | * | |
13 | * You should have received a copy of the GNU General Public License along with | |
14 | * this program; if not, write to the Free Software Foundation, Inc., 51 | |
15 | * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
16 | */ | |
17 | #ifndef RELAYD_CMD_2_11_H | |
18 | #define RELAYD_CMD_2_11_H | |
19 | ||
20 | #include "lttng-relayd.h" | |
21 | #include <common/buffer-view.h> | |
23c8ff50 | 22 | #include <common/compat/uuid.h> |
f86f6389 JR |
23 | |
24 | int cmd_create_session_2_11(const struct lttng_buffer_view *payload, | |
6fa5fe7c | 25 | char *session_name, char *hostname, char *base_path, |
23c8ff50 | 26 | uint32_t *live_timer, bool *snapshot, |
1e791a74 | 27 | uint64_t *id_sessiond, lttng_uuid sessiond_uuid, |
db1da059 | 28 | bool *has_current_chunk, uint64_t *current_chunk_id, |
46ef2188 MD |
29 | time_t *creation_time, |
30 | bool *session_name_contains_creation_time); | |
f86f6389 | 31 | |
2f21a469 JR |
32 | int cmd_recv_stream_2_11(const struct lttng_buffer_view *payload, |
33 | char **ret_path_name, char **ret_channel_name, | |
0b50e4b3 JG |
34 | uint64_t *tracefile_size, uint64_t *tracefile_count, |
35 | uint64_t *trace_archive_id); | |
2f21a469 | 36 | |
f86f6389 | 37 | #endif /* RELAYD_CMD_2_11_H */ |