Commit | Line | Data |
---|---|---|
b178f53e | 1 | /* |
ab5be9fa | 2 | * Copyright (C) 2019 Jérémie Galarneau <jeremie.galarneau@efficios.com> |
b178f53e | 3 | * |
ab5be9fa | 4 | * SPDX-License-Identifier: LGPL-2.1-only |
b178f53e | 5 | * |
b178f53e JG |
6 | */ |
7 | ||
8 | #ifndef LTTNG_SESSION_INTERNAL_H | |
9 | #define LTTNG_SESSION_INTERNAL_H | |
10 | ||
c9e313bc | 11 | #include <common/macros.hpp> |
d0eca33e | 12 | #include <common/make-unique-wrapper.hpp> |
b178f53e | 13 | |
28f23191 JG |
14 | #include <lttng/constant.h> |
15 | ||
d0eca33e SM |
16 | struct lttng_session; |
17 | ||
b178f53e JG |
18 | struct lttng_session_extended { |
19 | struct { | |
20 | uint64_t value; | |
21 | uint8_t is_set; | |
7bd95aee | 22 | } LTTNG_PACKED creation_time; |
b178f53e JG |
23 | } LTTNG_PACKED; |
24 | ||
d0eca33e SM |
25 | using lttng_session_uptr = |
26 | std::unique_ptr<lttng_session[], | |
27 | lttng::memory::create_deleter_class<lttng_session, lttng::free>::deleter>; | |
28 | ||
b178f53e | 29 | #endif /* LTTNG_SESSION_INTERNAL_H */ |